Guillermo Rauch
a3798f3f15
Merge branch 'master' of github.com:/LearnBoost/engine.io
2012-11-04 09:12:51 -08:00
Guillermo Rauch
13e06795ac
transports: remove Connection headers and let node handle it ( fixes #111 )
2012-11-04 09:11:39 -08:00
Andor Goetzendorff
7f08ee3f50
invoking as a function causes attach, refs #104
2012-10-29 13:40:07 +01:00
Lal Jérémy
bbe3d95513
Socket.flush: reset writeBuffer before send
...
This prevents legacy node versions from calling Socket.flush before it
could reset writeBuffer, leading to double-flush.
2012-10-24 23:32:23 +03:00
Fedor Indutny
be7b4e7478
socket: reset ping timeout on incoming data
2012-10-16 23:39:57 +07:00
Guillermo Rauch
689644247c
socket: added missing jsdoc (gross)
2012-10-11 12:43:36 -07:00
Joe Walnes
61d4c1a7b5
Slow upgrade should not take down server.
...
I noticed this on very heavily overloaded server - the typos raises an uncaught exception.
2012-10-10 16:44:37 -05:00
Guillermo Rauch
f0c7097738
transports: improved instrumentation
2012-10-08 17:22:33 -07:00
Guillermo Rauch
1c96ca4fe8
socket: improve check interval for upgrade
2012-10-08 15:41:13 -07:00
Guillermo Rauch
17c657957e
socket: faster upgrades (we perform a check immediately)
2012-10-08 13:47:50 -07:00
Guillermo Rauch
537fc62d8f
server: don't assume sid is numeric
2012-10-06 19:56:36 -07:00
Guillermo Rauch
2f806d35b4
Merge pull request #84 from c9/better-pings2
...
Better pings 2
2012-10-04 08:41:27 -07:00
Fabian Jakobs
f08c158c3e
directly load the parser module
...
I have to problems with `module.exports = require('engine.io-client').parser;`
1. It loads more than is needed
2. It loads the JSONP transport client, which creates a global
2012-09-14 10:57:32 +03:00
cadorn
16650233d9
ping from client
2012-09-12 16:12:46 -07:00
cadorn
0b9f7809bc
changes for #78
2012-09-12 13:17:48 -07:00
Nico Kaiser
587cb14972
Moved generateId into an external module
...
see f7d40d5f7b
2012-09-11 12:17:04 +02:00
Guillermo Rauch
7eda4f0ec2
polling-jsonp: prevent client breakage with utf8 whitespace
2012-09-09 17:49:20 -07:00
Guillermo Rauch
6b725eb349
Merge pull request #71 from afshinm/master
...
add `send` callback feature
2012-09-04 11:12:22 -07:00
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
Afshin Mehrabani
7f483042d4
styling problem
2012-08-25 22:04:58 +04:30
Afshin Mehrabani
f9423c2143
unneeded change
2012-08-25 22:02:53 +04:30
Afshin Mehrabani
7959e0a05b
change in conditions
2012-08-25 21:58:14 +04:30
Afshin Mehrabani
175a3f003e
fix styling problem
2012-08-25 21:52:34 +04:30
Afshin Mehrabani
1e3a0ef614
fix styling problem
2012-08-25 21:47:22 +04:30
Afshin Mehrabani
148a10209a
Revert "fix style problem"
...
This reverts commit 514e728433 .
2012-08-25 21:45:16 +04:30
Afshin Mehrabani
514e728433
fix style problem
2012-08-25 21:42:29 +04:30
Afshin Mehrabani
51f110f64f
remove unneeded changes
2012-08-25 21:26:23 +04:30
Afshin Mehrabani
c81cf614e1
fix code style problems, remove unnecessary clearing
2012-08-25 21:09:21 +04:30
Afshin Mehrabani
8f4d6f9e13
remove unnecessary sequence id & drain emit parameter
2012-08-24 04:01:36 +04:30
Guillermo Rauch
b48efb3f45
transport: avoid unhandled error events for stale transports ( fixes #69 )
2012-08-22 10:25:03 -07:00
Afshin Mehrabani
23004e8b6e
fix code styling issues
2012-08-21 00:23:14 +04:30
Afshin Mehrabani
ab4393fbd8
fix indentation
2012-08-20 23:21:35 +04:30
Afshin Mehrabani
9073a07323
change transports send & flush functions
2012-08-20 12:20:58 +04:30
Afshin Mehrabani
d5dff2dd62
change comment
2012-08-20 12:18:22 +04:30
Afshin Mehrabani
cb02a97d0c
add sequence id, change websocket send function
2012-08-18 12:14:17 +04:30
Afshin Mehrabani
1434eaf78f
add send callback tests + a little change in function
2012-08-15 22:27:03 +04:30
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
Afshin Mehrabani
634b11af71
add send callback
...
issue #57
2012-08-13 22:34:50 +04:30
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