Skip to content

Instantly share code, notes, and snippets.

@3rd-Eden
Created August 3, 2011 18:33
Show Gist options
  • Save 3rd-Eden/1123427 to your computer and use it in GitHub Desktop.
Save 3rd-Eden/1123427 to your computer and use it in GitHub Desktop.

Client

LOG: *** <3 connecting
LOG: xhrpolling.get has been called
LOG: xhr statechange 4
LOG: got data 1::
LOG: got response for private: 1
LOG: url: http://10.0.1.5:8080/socket.io/1/xhr-polling/1721312700696629175
LOG: ------- got connect packet
LOG: CONNECT EVENT CALLED
LOG: namespace.emit
LOG: namespace.packet
LOG: socket.packet
LOG: forwarding to transport.packet
LOG: namespace.emit
LOG: namespace.packet
LOG: socket.packet
LOG: buffering
LOG: xhrpolling.get has been called
LOG: xhr statechange 4
LOG: got data 1::
LOG: got response for private: 2
LOG: url: http://10.0.1.5:8080/socket.io/1/xhr-polling/1721312700696629175
LOG: ------- got connect packet
LOG: CONNECT EVENT CALLED
LOG: namespace.emit
LOG: namespace.packet
LOG: socket.packet
LOG: buffering
LOG: namespace.emit
LOG: namespace.packet
LOG: socket.packet
LOG: buffering
LOG: xhrpolling.get has been called
LOG: xhr statechange 4
LOG: got data 1::
LOG: got response for private: 3
LOG: url: http://10.0.1.5:8080/socket.io/1/xhr-polling/1721312700696629175
LOG: ------- got connect packet
LOG: CONNECT EVENT CALLED
LOG: namespace.emit
LOG: namespace.packet
LOG: socket.packet
LOG: buffering
LOG: namespace.emit
LOG: namespace.packet
LOG: socket.packet
LOG: buffering
LOG: xhrpolling.get has been called
LOG: xhr statechange 4
LOG: xhr statechange 4
LOG: xhr statechange 4
LOG: got data 5:::{"name":"done"}
LOG: got response for private: 4
LOG: url: http://10.0.1.5:8080/socket.io/1/xhr-polling/1721312700696629175
LOG: namespace.packet
LOG: socket.packet
LOG: forwarding to transport.packet
LOG: xhr statechange 4

###server

   debug - served static /socket.io.js
   debug - client authorized
   info  - handshake authorized 1721312700696629175
   debug - setting request GET /socket.io/1/xhr-polling/1721312700696629175?t1312396317000
   debug - setting poll timeout
   debug - client authorized for 
   debug - clearing poll timeout
   debug - xhr-polling writing 1::
   debug - set close timeout for client 1721312700696629175
   debug - setting request GET /socket.io/1/xhr-polling/1721312700696629175?t1312396317015
   debug - setting poll timeout
   debug - discarding transport
   debug - cleared close timeout for client 1721312700696629175
   debug - xhr-polling received data packet 5:::{"name":"print","args":["foo"]}
has message foo
   debug - xhr-polling received data packet ?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"print","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"print","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}
has message bar
   debug - clearing poll timeout
   debug - xhr-polling writing 5:::{"name":"done"}
   debug - set close timeout for client 1721312700696629175
   debug - xhr-polling received data packet ?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"print","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"print","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}
duplicate message foo
has message foo
   debug - xhr-polling received data packet ?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"print","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"print","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}
duplicate message bar
has message bar
   debug - xhr-polling received data packet ?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"print","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"prinduplicate message foo
duplicate message bar
t","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}
has message foo
   debug - xhr-polling received data packet ?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"print","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}?35?5:::{"name":"print","args":["foo"]}?35?5:::{"name":"print","args":["bar"]}
has message bar
   debug - xhr-polling received data packet 0::
   debug - got disconnection packet
   info  - transport end by forced client disconnection
   info  - transport end
   debug - cleared close timeout for client 1721312700696629175
   debug - discarding transport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment