Commit Graph

151 Commits

Author SHA1 Message Date
Guillermo Rauch
79af5e17cc server: remove buffering from handleSocket 2012-08-26 18:13:49 -07:00
Guillermo Rauch
d1cbdfff77 server: applied new coding style 2012-08-26 18:13:39 -07:00
Guillermo Rauch
b48efb3f45 transport: avoid unhandled error events for stale transports (fixes #69) 2012-08-22 10:25:03 -07:00
Guillermo Rauch
16449ec6ca polling-xhr: skip Keep-Alive when it's implied 2012-08-13 11:51:12 -07:00
Guillermo Rauch
c165b6b465 polling-jsonp: skip Keep-Alive when it's implied [EugenDuck] 2012-08-13 11:49:18 -07:00
Guillermo Rauch
b948f858fb socket: fix flush event parameter 2012-08-10 10:45:48 -07:00
Guillermo Rauch
271585189f socket: added flush/drain events (fixes #56) 2012-08-10 10:39:09 -07:00
Guillermo Rauch
827875f481 sense: this makes more
This way all transports have a consistent constructor.
2012-08-06 16:28:12 -07:00
Guillermo Rauch
eb3822c825 websocket: expose handlesUpgrade flag 2012-08-06 16:27:17 -07:00
Guillermo Rauch
24e19fceee server: avoid passing websocket to non-websocket transports (fixes #24) 2012-08-06 16:24:44 -07:00
Guillermo Rauch
44fd1b97a1 server: implemented stronger id generator with collision detection 2012-08-06 09:17:11 -07:00
Guillermo Rauch
26ffa48f0d polling: changed text/plain to text/html (fixes #43) 2012-08-02 17:00:06 -07:00
Guillermo Rauch
a80c76fa37 websocket: do error handling for each ws write 2012-08-01 16:09:45 -07:00
Guillermo Rauch
25b48dd152 server: replaced websocket.io with ws, now that it supports older drafts 2012-08-01 16:09:21 -07:00
Guillermo Rauch
c754f549f7 Added transport headers Set-Cookie injection 2012-07-03 14:19:28 -07:00
Guillermo Rauch
2ce2138de4 Added handshake request to polling transports. 2012-07-03 14:18:46 -07:00
Guillermo Rauch
f3e867a2a8 Added headers event to transports. 2012-07-03 14:18:32 -07:00
Guillermo Rauch
45d07bc816 Introduced Transport#request 2012-07-03 14:18:09 -07:00
Guillermo Rauch
73cf06cc34 Added accessor to transport handshake request 2012-07-03 14:17:17 -07:00
Guillermo Rauch
aa6fe32b59 Removed version since we're not supporting 0.4 from the get-go. Use require('engine.io/package').version instead. 2012-07-03 12:46:40 -07:00
Guillermo Rauch
f0ece1b9ba polling: send io cookie (fixes #30) 2012-07-02 11:03:09 -07:00
Guillermo Rauch
566acd1ffd socket: transfer sid to transport upon opening 2012-07-02 11:02:39 -07:00
Guillermo Rauch
927134813b polling-jsonp: added garbage jsonp querystring protection (fixes #25) 2012-07-02 08:20:52 -07:00
Guillermo Rauch
82ec5a8bc9 socket: ignore transport errors from discarded transports (fixes #26) 2012-07-02 07:52:36 -07:00
Guillermo Rauch
00f9738292 socket: added polling cycle force for fast upgrade 2012-07-02 07:34:02 -07:00
Guillermo Rauch
ce99f057a2 Fixed engine.io for 0.7 2012-06-05 15:05:19 +02:00
Mikito Takada
0ad8a247a2 Fix POST content type for Firefox. Same as https://github.com/LearnBoost/socket.io/pull/806 but for Engine.io 2012-04-06 21:51:58 -07:00
Nico Kaiser
b566accb09 Remove the right listener in onDataRequest 2012-04-05 08:53:13 +02:00
Guillermo Rauch
b8cca35434 Added instrumentation to core 2012-04-03 08:16:05 -03:00
Guillermo Rauch
4f689687e6 Implemented resource 2012-04-02 12:17:22 -03:00
Guillermo Rauch
7b77bd613c Replaced 204 with 200 and added a response text.
I remember old versions of Firefox having issues with 200 responses
with no text.
2012-03-08 11:46:12 -03:00
Guillermo Rauch
bd19365452 Exposed parser. 2012-03-03 18:41:11 -03:00
Andor Goetzendorff
556995470a add on('error') handler for websocket transport 2012-03-02 17:59:37 +01:00
Guillermo Rauch
5b76f2d36d Merge branch 'master' of github.com:/LearnBoost/engine.io 2012-02-26 16:50:11 -03:00
Guillermo Rauch
97c84e5e4a Fixed indentation. 2012-02-26 16:47:25 -03:00
Lal Jérémy
d1d35263b1 Socket.ping() should be idempotent, if not race conditions can appear and connection closes. 2012-02-22 15:13:01 +01:00
Guillermo Rauch
2d7d1debeb Fixes #11. Thanks @ruxkor 2012-02-22 09:59:52 -03:00
Lal Jérémy
b56354c84b Update lib/socket.js 2012-02-22 00:20:16 +01:00
Guillermo Rauch
b6e33239d7 Fix for #9 corrected. [ruxkor, kapouer] 2012-02-21 12:13:54 -03:00
Guillermo Rauch
f4d0badf5d Merge branch 'master' of github.com:/LearnBoost/engine.io 2012-02-15 14:04:34 -03:00
Guillermo Rauch
bbc988822b Fixed CORS for withCredentials (fixes #9) 2012-02-15 14:03:48 -03:00
einaros
89a30ec268 avoid suggesting upgrades which arent enabled on the server 2012-01-26 09:28:35 -08:00
Guillermo Rauch
208011937d Added missing qs decoding to jsonp transport. 2012-01-18 11:44:43 -08:00
Guillermo Rauch
337d709392 Updated polling callbacks variable. 2012-01-18 08:37:49 -08:00
Guillermo Rauch
e305e16ad7 Stopped sending interval to client. 2012-01-17 09:51:44 -08:00
Guillermo Rauch
014cf6e26d Tweaked default timeout and interval values. 2012-01-17 09:51:31 -08:00
Guillermo Rauch
79d26badfb Fixed docs. 2012-01-16 13:26:39 -08:00
Guillermo Rauch
cf57b9a01a Empty packet data translates into empty message. 2012-01-16 09:25:34 -08:00
Guillermo Rauch
2e4dcbdaba Improve ws instrumentation 2012-01-15 22:21:26 -08:00
Guillermo Rauch
de514e6e62 Added WebSocket#onData to instrument it. 2012-01-15 22:21:03 -08:00