Commit Graph

329 Commits

Author SHA1 Message Date
Arnout Kazemier
d6361f733a added missing breaks; the ack packet also emitted the onerror 2011-06-20 23:38:11 +02:00
Arnout Kazemier
f00f7e379f Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 22:22:08 +02:00
Arnout Kazemier
5916e325e3 this.open trigges popups.. changed to self.open. But disabled the reopen delay for
0.7 because it's not realy for production usage yet
2011-06-20 22:19:00 +02:00
Guillermo Rauch
334f1baaab Added proper charset for xhr POST. 2011-06-20 17:17:55 -03:00
Arnout Kazemier
e4f6cbe759 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 21:24:43 +02:00
Guillermo Rauch
d145258d13 Added XHR#close. 2011-06-20 16:19:43 -03:00
Arnout Kazemier
3136ae3c4f Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 21:13:53 +02:00
Arnout Kazemier
63d40941ff XHR now has a close method 2011-06-20 21:13:01 +02:00
Guillermo Rauch
8cdd60d9f7 Fixed double insertion. 2011-06-20 16:01:19 -03:00
Guillermo Rauch
1e50a661c6 Fixed closeTimeout and heartbeatTimeout. 2011-06-20 15:51:08 -03:00
Guillermo Rauch
d88da380d5 Merge pull request #197 from 3rd-Eden/master
Utils & shizzle
2011-06-20 10:50:20 -07:00
Guillermo Rauch
6fead979c8 Fixed behavior of onerror for XDomainRequest. 2011-06-20 14:35:26 -03:00
Guillermo Rauch
ce6ed96189 Redone name assignment for transports. 2011-06-20 14:34:40 -03:00
Arnout Kazemier
f85d68fcae +io 2011-06-20 14:59:58 +02:00
Arnout Kazemier
d5b9c0f004 added window 2011-06-20 14:59:09 +02:00
Arnout Kazemier
771ba9c3c7 Incorporated feedback from @dvv 2011-06-20 14:52:53 +02:00
Arnout Kazemier
4651444075 Use util instead of this for merging 2011-06-20 14:19:21 +02:00
Arnout Kazemier
f0d85b5a3f Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 11:38:48 +02:00
Arnout Kazemier
becc612279 Fixed url generation 2011-06-20 11:38:12 +02:00
Guillermo Rauch
1c8b8000de Merge branch 'master' of github.com:LearnBoost/Socket.IO 2011-06-20 06:17:18 -03:00
Guillermo Rauch
3fda1e6d35 Fixes cross domain XHR on IE8/9 2011-06-20 06:16:50 -03:00
Arnout Kazemier
e97d414439 Removed console.log 2011-06-20 10:53:13 +02:00
Arnout Kazemier
09d80164c3 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 08:49:58 +02:00
Guillermo Rauch
67c9d02a93 Fixed ack handling for regular messages. 2011-06-19 20:55:09 -03:00
Arnout Kazemier
98811fdbc2 Fixed cross port connection issues, and simplified the prepareURL stuff 2011-06-20 00:55:51 +02:00
Arnout Kazemier
59355dd877 Handle reconnect advice 2011-06-20 00:42:47 +02:00
Guillermo Rauch
0aeac333da Removed dead code 2011-06-19 19:11:41 -03:00
Guillermo Rauch
98a5792bf7 Build conflict. 2011-06-19 18:25:58 -03:00
Guillermo Rauch
2766f777db Changed; expose CORS feature detection from util. 2011-06-19 18:23:43 -03:00
Guillermo Rauch
d392d132c0 Fixed; before we were handling a forced client disconnection as a transport
disconnection, which is conceptually wrong as the connection was healthy.
2011-06-19 18:23:02 -03:00
Guillermo Rauch
e8bea5cc1e Fixed; avoid reconnection on forced client disconnections (both for when the server
kicks a client and the client disconnects itself.
2011-06-19 18:22:09 -03:00
Guillermo Rauch
e6e34d461e Added Socket#disconnectSync private function. 2011-06-19 18:21:51 -03:00
Guillermo Rauch
a96df88297 Changed; make sure to attach a reason to forced client disconnection to attach a reason to forced client disconnection 2011-06-19 18:21:23 -03:00
Guillermo Rauch
ba96bff4f0 Removed sync logic from main disconnect function. 2011-06-19 18:21:01 -03:00
Guillermo Rauch
565974b651 Removed sync option from Socket#disconnect. 2011-06-19 18:20:13 -03:00
Guillermo Rauch
cfad7509ec Fixed style. 2011-06-19 18:19:58 -03:00
Guillermo Rauch
7080cd0145 Fixed sync disconnect packet, as it can only be done for non-cross domain situations
and browsers with CORS (XDomainRequest does not allow for sync requests).
2011-06-19 18:19:12 -03:00
Guillermo Rauch
0c49ee9ef0 Fixed json and message packets. 2011-06-19 18:18:46 -03:00
Guillermo Rauch
c5b7222866 Fixed; disconnect packet for namespace '' means total socket disconnection, and
otherwise we just fire the `disconnect` event for the namespace.
2011-06-19 18:16:26 -03:00
Guillermo Rauch
6075360235 Changed; handled connect packet type separately on socket namespaces. 2011-06-19 18:16:02 -03:00
Guillermo Rauch
5a2ff26d5e Added missing SocketNamespace#disconnect. 2011-06-19 18:15:27 -03:00
Arnout Kazemier
db7b2a01a9 Fixed io.connect, should take argument 2011-06-19 22:06:22 +02:00
Arnout Kazemier
9d4d06c5a6 Fixed socket.json.send and socket.json.emit 2011-06-19 20:08:53 +02:00
Arnout Kazemier
1509fbcb19 Removed option.host, it should be provided by default in the constructor 2011-06-19 19:40:09 +02:00
Arnout Kazemier
6363b62f43 Fixed #188 and fixed a bug where secure wasn't correctly set 2011-06-19 19:27:07 +02:00
Arnout Kazemier
0b2ee0849f Styling 2011-06-19 19:10:14 +02:00
Arnout Kazemier
52e578d410 Fixed json and messages, we should have used $emit 2011-06-19 12:16:26 +02:00
Arnout Kazemier
c35b8405d1 use indexOf instead of array.indexOf because thats not supported in IE 2011-06-18 22:28:30 +02:00
Arnout Kazemier
2d84ede3e4 don't emit errors when we are reconnecting 2011-06-18 22:17:33 +02:00
Guillermo Rauch
7f5e870b6e Default port to 443 in node 2011-06-18 15:22:16 -03:00