Guillermo Rauch
191d68d85f
Workaround for race condition
2011-06-20 17:34:16 -03:00
Guillermo Rauch
b94320fb97
Changed; improved instrumentation for setting request.
2011-06-16 13:59:01 -03:00
Guillermo Rauch
ea8cfc5c8f
Fixed problem with multiple request handling.
...
Added proper cleanup
2011-06-13 02:58:10 -03:00
Guillermo Rauch
1743baba29
Changed behavior of end and close events, and introduced swapped semaphore.
2011-06-12 19:49:50 -03:00
Guillermo Rauch
19c62c1f7b
Fixed; force disconnection can still happen even with temporarily closed transports.
2011-06-11 16:41:28 -03:00
Guillermo Rauch
5a93d72e9c
Make sure automatic endpoints preserve endpoint.
2011-05-24 22:09:03 -07:00
Guillermo Rauch
a647fae3c4
Remvoed volatile messages unsubscription.
2011-05-24 21:03:21 -07:00
Guillermo Rauch
245c57c527
Fix style.
2011-05-24 21:02:26 -07:00
Guillermo Rauch
b663f5dd24
Make sure the Transport assumes delivered messages are pre-encoded.
2011-05-24 21:01:27 -07:00
Guillermo Rauch
adf9f1150a
Added automatic ACK handling to Transport.
2011-05-24 20:23:45 -07:00
Guillermo Rauch
f020d012f2
Make sure the socket is considered drained when re-set, specially if a socket is
...
closed before its drain event fires.
2011-05-22 14:28:41 -07:00
Guillermo Rauch
777746d42d
Changed; moved volatile message subscription to request initialization.
...
Fixed; socket errors now close the transport instead of resulting in a disconnection.
Transport#writeVolatile now considers transport open state.
2011-05-22 14:20:18 -07:00
Guillermo Rauch
c0e1944462
Added WebSocket#drained initialization to constructor.
2011-05-22 13:24:51 -07:00
Guillermo Rauch
f5edca935d
Added Transport#writeVolatile for every transport.
...
Removed WebSocket#writeVolatile, inherit from Transport instead.
Removed `drain` listener from WebSocket onSocketConnect method.
2011-05-22 13:18:51 -07:00
Guillermo Rauch
9cfffa48e8
Added Transport#drained and Transport#onSocketDrain for every transport.
2011-05-22 13:17:00 -07:00
Guillermo Rauch
750e8a9272
Fixed; removed noDelay for all sockets.
2011-05-19 13:16:43 -07:00
Guillermo Rauch
080abccf10
Fixed distributed connections detection.
...
Fixed; make sure all heartbeats are captured.
Changed; make sure to close on our end when the socket 'end'/'close' event fires.
2011-05-18 20:37:51 -07:00
Guillermo Rauch
da95a4e31f
Added cross-connection heartbeat clearing. In a XHR transport, if the POST request
...
goes through a different connection, we want to clear the heartbeat timeout set in
the connection associated with the GET request.
Added disconnect reasons.
2011-05-17 16:09:01 -07:00
Guillermo Rauch
4724724e20
Changed; only do forced disconnection handling for writable sockets. This prevents
...
Transport objects created with POST requests from triggering disconnect events too.
Changed; moved forced disconnect logic into Transport#onForcedDisconnect.
2011-05-16 19:43:30 -07:00
Guillermo Rauch
3dda158065
Changed; make sure to Transport#resume only if the client is connected.
...
Fixed; send disconnection packet when forced disconnecting.
2011-05-14 19:22:32 -07:00
Guillermo Rauch
c39191b3fd
Added the notion of forced disconnects.
...
Added Transport#onSocketConnect interface.
Added Transport#clearTimeouts
Added heartbeat response handling.
Added Transport#close, Transport#onClose, chanaged Transport#end.
2011-05-08 20:35:38 -07:00
Guillermo Rauch
c3171be7a8
Added; implemented message handling at transport level for heartbeat clearing and
...
disconnection handling.
2011-05-07 18:24:45 -07:00
Guillermo Rauch
c2d0774d46
Removed const (slow)
2011-05-06 15:12:51 -07:00
Guillermo Rauch
1514af064f
Socket.IO 0.7-pre
2011-05-05 08:49:40 -07:00