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
Guillermo Rauch
81eb2c37f7
Make sure Polling#write updates the Transport#writable property.
2012-01-09 08:53:58 -08:00
Guillermo Rauch
4c9960ae27
Claned up Transport concept of buffering.
2012-01-09 08:50:12 -08:00
Guillermo Rauch
63e711885f
Simplified Polling#pause.
2012-01-09 08:43:06 -08:00
Guillermo Rauch
ca56e61847
Fixed WS#write
2012-01-04 22:48:54 -08:00
Guillermo Rauch
9c70561e00
Refactored WS#write
2012-01-04 16:08:17 -08:00
Guillermo Rauch
d7b07367ed
writeMany is gone, write now handles arrays directly.
2012-01-04 16:07:55 -08:00
Guillermo Rauch
fed78d3607
Started finishing Polling#pause.
2012-01-04 16:07:30 -08:00
Guillermo Rauch
b4166271dd
Refactored this again, this time I like it.
2012-01-04 16:06:45 -08:00
Guillermo Rauch
364408d0ee
Implemented a public sendMany. I hate public props.
2012-01-04 16:06:21 -08:00
Guillermo Rauch
4c7d127557
Fixed WS write and writeMany
2012-01-04 13:17:58 -08:00
Guillermo Rauch
421e152b6b
Fixed polling write and writeMany
2012-01-04 13:17:41 -08:00
Guillermo Rauch
bbf2819b0e
Added more instrumentation
2012-01-04 13:15:02 -08:00
Guillermo Rauch
a22006fc55
Made the parser tests a little more realistic.
2012-01-04 13:09:04 -08:00