Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
9cc043102d Merge pull request #22 from ruxkor/to_learnboost_2
xhr polling does not call onError when xhr.status == 0
2012-02-29 10:28:06 -08:00
Andor Goetzendorff
99306d3fcf xhr polling does not call onError when xhr.status == 0, refs #21 2012-02-29 16:44:00 +01:00
Felix Geisendörfer
c9b54f20ca Clear heartbeat timer when closing socket 2012-02-29 15:19:23 +01:00
Guillermo Rauch
c8306e207d Temporarily removing node 0.4 from travis-ci 2012-02-29 11:01:11 -03:00
Felix Geisendörfer
c1b03531bf Set heartbeat timeout after every package
This way it also works for long-polling clients.
2012-02-29 14:51:33 +01:00
Guillermo Rauch
de5c0b3554 Merge pull request #771 from felixge/heartbeat
Make heartbeat timeout > heartbeat interval
2012-02-29 05:43:24 -08:00
Felix Geisendörfer
57a0b24060 Make heartbeat timeout > heartbeat interval
Otherwise clients would detect timeouts before a heartbeat has a chance
of reaching them. The new values themselves were suggested by @rauchg. I
myself think that the heartbeat timeout should probably only be ~10s larger
than the interval.
2012-02-29 14:15:37 +01:00
Felix Geisendörfer
0bcd25f03d Implement client side heartbeat checks
Fixes https://github.com/LearnBoost/socket.io/issues/635
2012-02-29 14:12:43 +01:00
Guillermo Rauch
db40b103e5 Merge pull request #374 from rizzoma/master
Xhr-based transports didn't close on "not handshaken" error and spammed server with "null".
2012-02-28 04:29:20 -08:00
Guillermo Rauch
b04239744a Merge pull request #392 from felixge/activex
Implement ActiveX obfuscation for minified dist
2012-02-28 02:32:14 -08:00
Felix Geisendörfer
1590242736 Move ActiveX obfuscation into own module
Also made it apply to both dist files, not just the minified one.
2012-02-28 11:09:47 +01:00
Felix Geisendörfer
9c006e1409 Implement ActiveX obfuscation for minified dist
Some coporate proxys/firewalls (such as Blue Coat) filter out JS files
that contain the string 'ActiveX' in them. This patch alters the Uglify
AST so that all occurences of the string are obfuscated, making
socket.io work in even the most hostile environments : ).
2012-02-27 22:22:26 +01:00
Guillermo Rauch
ba456d99cc Bumped websocket.io 2012-02-27 10:39:49 -03:00
Guillermo Rauch
0612d5a079 Shortened heading. 2012-02-27 09:01:13 -03:00
Guillermo Rauch
fd0102e4c2 Added build status image. 2012-02-27 08:59:36 -03:00
Guillermo Rauch
67992530bc Added engine.io. 2012-02-27 08:58:57 -03:00
Guillermo Rauch
4f8212ebac Added .travis.yml 2012-02-27 08:57:42 -03:00
Guillermo Rauch
f8c56b98f5 Added .travis.yml 2012-02-27 08:57:05 -03:00
Guillermo Rauch
4713aaab0b Updated readme. 2012-02-27 08:54:17 -03:00
Guillermo Rauch
61c9c4cf03 Updated README 2012-02-27 08:54:04 -03:00
Guillermo Rauch
f651cb45f0 Added basePath option. 2012-02-27 08:53:11 -03:00
Guillermo Rauch
96ac0957f6 Fixed parser test. 2012-02-27 08:46:45 -03:00
Guillermo Rauch
204576c006 Make these 2 tests work both on 0.4 and 0.6 0.9.0 2012-02-26 21:51:22 -03:00
Guillermo Rauch
66ac425bf7 Release 0.9.0 2012-02-26 21:46:39 -03:00
Guillermo Rauch
a01e7e2256 Make tests pass on 0.4 2012-02-26 18:21:25 -03:00
Guillermo Rauch
1a35218003 Release 0.9.0 2012-02-26 17:41:31 -03:00
Guillermo Rauch
25d4677f9e Revert "Cross domain requests properly fall back with SSL"
This reverts commit 0ba168c9b6.
2012-02-26 17:39:45 -03:00
Guillermo Rauch
47cfa5aadf Fixed tests. All 250 passing. 2012-02-26 17:14:06 -03:00
Guillermo Rauch
ddd7f804af Fixed cross-domain xhr tests. 2012-02-26 17:11:52 -03:00
Guillermo Rauch
5b76f2d36d Merge branch 'master' of github.com:/LearnBoost/engine.io 2012-02-26 16:50:11 -03:00
Guillermo Rauch
5ed8ac95da Documented attach options. 2012-02-26 16:47:37 -03:00
Guillermo Rauch
97c84e5e4a Fixed indentation. 2012-02-26 16:47:25 -03:00
Guillermo Rauch
0a0095c267 Added DS_Store to gitignore. 2012-02-26 16:36:25 -03:00
Guillermo Rauch
22ba0e68e0 Updated depedencies. 2012-02-26 16:35:51 -03:00
Guillermo Rauch
8c396925ac Merge pull request #12 from kapouer/patch-2
Socket.ping() should be idempotent, if not race conditions can appear and connection closes.
2012-02-22 14:11:19 -08: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
Guillermo Rauch
4763230327 Merge pull request #19 from kapouer/patch-1
Options should take opts.secure.
2012-02-22 04:44:15 -08:00
Lal Jérémy
d5df4c57dd Options should take opts.secure. 2012-02-22 11:05:47 +01:00
Guillermo Rauch
81e278872f Merge pull request #10 from kapouer/patch-1
Trivial fix in update lib/socket.js, fix wrong call of sendPacket
2012-02-21 15:26:05 -08: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
2e596e7876 Fixed Makefile 2012-02-15 14:07:49 -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
Guillermo Rauch
4e0db80e06 Merge pull request #17 from ruxkor/master
fix for #16
2012-02-15 07:37:25 -08:00
Andor Goetzendorff
9d8f75ff38 loop over navigator.plugins instead of using .indexOf, fixes #16 2012-02-15 16:27:35 +01:00
Guillermo Rauch
224e3ecfc8 Bumped uglify 2012-02-13 20:45:16 -03:00
Guillermo Rauch
8c1c7a24ef Merge pull request #744 from ajaxorg/regexp-as-resource
make it possible to use a regexp to match the socket.io resource URL
2012-02-09 09:38:03 -08:00
Fabian Jakobs
09b130f4cf make it possible to use a regexp to match the
socket.io resource URL. We need this because we
have to prefix the socket.io URL with a variable
ID.
2012-02-09 17:17:55 +01:00