Commit Graph

325 Commits

Author SHA1 Message Date
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
Guillermo Rauch
fefb643c4a test: tweaked timers that were making tests not pass on mountain lion 2012-09-04 12:08:19 -07:00
Guillermo Rauch
95303cb3f3 test: fixed test for clearing callback references 2012-09-04 12:06:57 -07:00
Guillermo Rauch
eeacea93ff test: fix style, removed test that's not passing 2012-09-04 12:06:41 -07:00
Guillermo Rauch
a99251d38a Merge pull request #74 from afshinm/patch-1
Adding Afshin Mehrabani to contributors
2012-09-04 11:23:12 -07:00
Afshin Mehrabani
029746a4c8 Adding Afshin Mehrabani to contributors 2012-09-04 22:52:24 +04:30
Guillermo Rauch
f493172331 README: documented send callback 2012-09-04 11:16:27 -07:00
Guillermo Rauch
414a24c1e6 Merge branch 'master' of github.com:/LearnBoost/engine.io 2012-09-04 11:14:07 -07:00
Guillermo Rauch
18da616730 README: simplified client constructor example 2012-09-04 11:13:47 -07:00
Guillermo Rauch
6b725eb349 Merge pull request #71 from afshinm/master
add `send` callback feature
2012-09-04 11:12:22 -07:00
Afshin Mehrabani
b7ac48941e fix double \n 2012-09-04 22:40:46 +04:30
Afshin Mehrabani
8af0e2a253 two new test for send callback
in this new tests we assert that:
1- when socket get closed and one or more packet(s) are in writeBuffer,
callback references get cleaned to avoid memory leak.
2- callbacks still execute in polling mode
2012-09-04 21:32:25 +04:30
Guillermo Rauch
5427d2056c Release 0.2.2 2012-08-26 18:39:54 -07:00
Guillermo Rauch
b70eb526fc Merge pull request #72 from LearnBoost/remove/flash-policy-buffering
Remove/flash policy buffering
2012-08-26 18:18:20 -07:00
Guillermo Rauch
2c61e40537 test: removed flash policy buffering test
- it was a false positive (it was all being written in one packet despite
  the callback).
- node will discard subsequent packets anyways as they're not a valid
  request. we can only hope(?) that flash's request comes all in one packet
2012-08-26 18:14:01 -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
37c91fc822 fix tests + code styling 2012-08-26 19:32:59 +04:30
Afshin Mehrabani
837ba76477 add new test
test the callback while polling
2012-08-26 00:42:21 +04:30
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
934d323c66 fix .gitignore problem 2012-08-25 21:51:08 +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
2125d0bfd9 rollback .gitignore 2012-08-25 21:38:38 +04:30
Afshin Mehrabani
893a9f3700 remove send callback 2012-08-25 21:33:23 +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
2e57cd0c44 Merge branch 'master' of github.com:/LearnBoost/engine.io 2012-08-22 10:25:24 -07:00
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
347639b117 add new send callback tests 2012-08-20 12:16:33 +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
beefb8d64a Merge pull request #66 from EugenDueck/patch-2
Adding myself to list of contributors
2012-08-13 18:00:20 -07:00
EugenDueck
337e4f23af Adding myself to list of contributors
And added guille as the author - don't want it to look like I'm responsible for all the bugs ;)
2012-08-14 09:58:35 +09:00
Guillermo Rauch
90bf61fe7b Merge pull request #65 from EugenDueck/patch-1
Document that toString() is performed on the message argument
2012-08-13 14:53:20 -07:00
EugenDueck
d262459d39 Document that toString() is performed on the message argument
This is what engine.io in fact already (implicitly) does, so I can give it any object I want, and it will send what `message.toString()` returns.

This allows me to implement transparent caching of the JSONified string, speeding up broadcast and multicast messages.
2012-08-14 06:49:07 +09:00
Guillermo Rauch
1ea3681917 Release 0.2.1 2012-08-13 12:06:54 -07:00
Guillermo Rauch
67117d94f5 Merge pull request #64 from LearnBoost/improve/http-framing
Improve/http framing
2012-08-13 11:57:27 -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