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
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
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