Commit Graph

238 Commits

Author SHA1 Message Date
Vladimir Dronnikov
5aeff8618d stopper typo fixed 2012-01-18 10:28:12 -05:00
Guillermo Rauch
9800e29f72 Removed notion of pingInterval 2012-01-17 09:50:10 -08:00
Guillermo Rauch
f3375a86da Revert "fixed wrong assumption on ping timeout"
This reverts commit 3012a7922b.
2012-01-17 09:32:42 -08:00
Guillermo Rauch
35d35e3980 Consistency with server 2012-01-17 09:32:34 -08:00
Guillermo Rauch
b972088e39 Merge branch 'master' of github.com:/LearnBoost/engine.io-client 2012-01-17 08:15:33 -08:00
Guillermo Rauch
3fc505d573 Leveraged util.keys for browser compliance. 2012-01-17 08:14:44 -08:00
Guillermo Rauch
ed59483bb9 Added util#keys 2012-01-17 08:14:06 -08:00
Guillermo Rauch
3877183268 Removed unneeded .bind 2012-01-17 08:12:08 -08:00
Guillermo Rauch
2ddceab15e Merge pull request #9 from dvv/patch-2
fixed wrong assumption on ping timeout
2012-01-17 08:11:32 -08:00
Vladimir Dronnikov
3012a7922b fixed wrong assumption on ping timeout 2012-01-17 09:31:12 +00:00
Guillermo Rauch
b8d126c2c2 Improved dependency loader. 2012-01-16 15:38:56 -08:00
Guillermo Rauch
2e52e6eb60 Transfer web-socket-js logging to instrumentation. 2012-01-16 14:56:47 -08:00
Guillermo Rauch
b7b9ee1b2e Leveraged flashPath from flashsocket transport. 2012-01-16 14:55:43 -08:00
Guillermo Rauch
44eaeeaa60 Added flashPath option. 2012-01-16 14:55:29 -08:00
Guillermo Rauch
6ec7668fd4 Merge pull request #6 from dvv/parser
coercion is done right
2012-01-16 10:04:09 -08:00
Guillermo Rauch
9d0cf675d4 Thanks Vladimir 2012-01-16 10:03:34 -08:00
Guillermo Rauch
38d6b75d0e Fixed missing global reference. 2012-01-16 09:59:48 -08:00
Vladimir Dronnikov
4b7d7e9787 we coerce data to string 2012-01-16 12:52:23 -05:00
Vladimir Dronnikov
49c9f4f63f Merge branch 'master' of github.com:LearnBoost/engine.io-client into parser 2012-01-16 12:50:27 -05:00
Guillermo Rauch
141eaef7d3 Failing test. 2012-01-16 09:49:45 -08:00
Guillermo Rauch
cc14deb5ab Removed error packet type. 2012-01-16 09:41:51 -08:00
Guillermo Rauch
50a7e384c3 Merge pull request #5 from dvv/parser
parser simplified
2012-01-16 09:29:24 -08:00
Vladimir Dronnikov
fb41b18007 Merge branch 'master' of github.com:LearnBoost/engine.io-client into parser 2012-01-16 12:28:31 -05:00
Guillermo Rauch
01b4802d11 Removed no longer relevant test. 2012-01-16 09:25:19 -08:00
Vladimir Dronnikov
01260064cf fixed encoder 2012-01-16 12:21:41 -05:00
Vladimir Dronnikov
2f691d3a07 Merge branch 'master' of github.com:LearnBoost/engine.io-client into parser 2012-01-16 12:14:48 -05:00
Vladimir Dronnikov
85bf4c05be drop excess : in packets 2012-01-16 12:14:15 -05:00
Guillermo Rauch
706f1504f4 Updated encoding format checks for new upcoming format. 2012-01-16 09:12:56 -08:00
Vladimir Dronnikov
516525afd4 parser simplified 2012-01-16 11:34:01 -05:00
Guillermo Rauch
37ad952168 Fixed 204 status on IE. 2012-01-16 08:14:00 -08:00
Guillermo Rauch
b6daf3212e Fixed order of on and load in util. 2012-01-16 08:05:08 -08:00
Guillermo Rauch
b253c8fed5 Fixed title 2012-01-15 22:50:06 -08:00
Guillermo Rauch
5f0d2455d3 Ensured we emit the event _after_ we we call onPacket.
This prevents a race condition where upon `poll`, the transport
gets paused, then upon getting closed upgraded (therefore replaced)
and packets are lost!
2012-01-15 22:30:28 -08:00
Guillermo Rauch
ce02ec2aaa Added polling data instrumentation. 2012-01-15 22:30:13 -08:00
Guillermo Rauch
2fe5b2682f Restored correct pausing logic for polling. 2012-01-15 22:29:51 -08:00
Guillermo Rauch
53c3e90fd7 Added fix for considering 204 a success.
In addition, avoid recursion error with status errors.
2012-01-15 22:25:40 -08:00
Guillermo Rauch
18cbd9d3a3 Added guard for uninitialized flashsocket close attempt. 2012-01-15 22:25:23 -08:00
Guillermo Rauch
aff04b7f02 Fixed FlashWS reference 2012-01-15 22:25:14 -08:00
Guillermo Rauch
c55bde3651 Improved socket close instrumentation. 2012-01-15 22:24:21 -08:00
Guillermo Rauch
49b1fad736 Fixed Socket#probe 2012-01-15 22:24:04 -08:00
Guillermo Rauch
b834862454 Removed no-longer needed callback. 2012-01-14 15:07:06 -08:00
Guillermo Rauch
5bc9c7e132 Made client buffer/flush work more like server. 2012-01-14 13:52:24 -08:00
Guillermo Rauch
5f0d7fb7e9 Removed noop packet test. 2012-01-14 10:40:23 -08:00
Guillermo Rauch
a23405bfea Fixed close packet sending. 2012-01-14 10:36:44 -08:00
Guillermo Rauch
81a1428da2 Merge branch 'master' into upgrade 2012-01-11 11:23:11 -08:00
Guillermo Rauch
2a521830d1 Pre-emptively assign an UID for every request. 2012-01-11 11:22:57 -08:00
Guillermo Rauch
3b558630d9 Added upgrade packet.
This packet gets sent by the upgrading transport that completed the
probe (ping/pong), once the client confirms that it's now considered
the main transport.
2012-01-09 09:00:40 -08:00
Guillermo Rauch
5c3d3a5739 Improved #flush, #sendPacket. 2012-01-09 08:55:40 -08:00
Guillermo Rauch
b417e8df6e Avoid collisions between upgrading transports 2012-01-09 08:55:13 -08:00
Guillermo Rauch
a2a8ec126f Keep reference of flush bound to the instance around. 2012-01-09 08:54:50 -08:00