compatible with engine.io v0.7.3

This commit is contained in:
Naoyuki Kanezawa
2013-08-25 01:16:55 +09:00
parent 26d6f75777
commit 693d9b54c0
2 changed files with 2 additions and 1 deletions

View File

@@ -601,6 +601,7 @@ public abstract class Socket extends Emitter {
public void run() {
self.writeBuffer.clear();
self.callbackBuffer.clear();
self.prevBufferLen = 0;
}
});

View File

@@ -135,7 +135,7 @@ public class WebSocket extends Transport {
}
}
private String uri() {
protected String uri() {
Map<String, String> query = this.query;
if (query == null) {
query = new HashMap<String, String>();