Commit Graph

101 Commits

Author SHA1 Message Date
Daniel Baulig
15fbf0eb21 Fixed namespaces not reconnecting after disconnect 2011-07-22 23:32:48 +02:00
Arnout Kazemier
59df51f05a Another stab at https://github.com/LearnBoost/socket.io/issues/274 2011-07-20 22:33:03 +02:00
Arnout Kazemier
4028c21d57 When you disconnect before the connection timeout is called, you will create a flood
of unaccepted messages
2011-07-10 21:08:40 +02:00
Arnout Kazemier
7c88d3f774 Removed console.log statement 2011-07-10 12:29:42 +02:00
Arnout Kazemier
7cf47f9f3a Fixed issue #223 where flashblock exposed a bug in our connection timeout code 2011-07-10 12:25:03 +02:00
Arnout Kazemier
e8e92268c5 Style fixes + don't init on each check & clear the flashsocket tasks on close 2011-06-29 09:49:19 +02:00
Arnout Kazemier
20de0b7a60 Fixed double connect events 2011-06-22 21:03:41 +02:00
Guillermo Rauch
417b7f12f1 Fixed; make sure to close the transport upon disconnection. 2011-06-21 01:46:54 -03:00
Guillermo Rauch
6588c1aad1 Fixed connect and heartbeat timeout mismatch. 2011-06-21 01:46:41 -03:00
Guillermo Rauch
885511161e Implemented better Socket#send buffering. 2011-06-21 01:46:22 -03:00
Guillermo Rauch
aa8e4c4489 Fixed Socket#publish for IE. 2011-06-20 19:23:01 -03:00
Guillermo Rauch
1e50a661c6 Fixed closeTimeout and heartbeatTimeout. 2011-06-20 15:51:08 -03:00
Arnout Kazemier
becc612279 Fixed url generation 2011-06-20 11:38:12 +02:00
Arnout Kazemier
59355dd877 Handle reconnect advice 2011-06-20 00:42:47 +02: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
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
2d84ede3e4 don't emit errors when we are reconnecting 2011-06-18 22:17:33 +02:00
Arnout Kazemier
6a9207369c Added flashsocket to the /transports.
The transport check now sends the socket instance so we can leverage methods
of that inside the check.
Updated the builder to also include flashsocket
2011-06-18 16:07:05 +02:00
Arnout Kazemier
a67e909a0a Removed console.log 2011-06-17 22:39:41 +02:00
Arnout Kazemier
cad92b900a Emit changes using one single method to both Socket and all namespaces 2011-06-15 21:51:27 +02:00
Guillermo Rauch
f2cad28b93 Added packet buffering capabilities to Socket#packet. 2011-06-13 12:30:53 -03:00
Guillermo Rauch
7ec45b516a Added; process buffer after opening socket. 2011-06-13 12:17:54 -03:00
Guillermo Rauch
9218020111 Fixed; make sure to send connect packet after opening sub-socket. 2011-06-13 12:13:56 -03:00
Guillermo Rauch
240b2cd094 Added buffer and namespaces data structures initialization to Socket constructor. 2011-06-13 12:13:35 -03:00
Guillermo Rauch
f09ba3ba94 Removed onConnect upon socket open. 2011-06-12 21:34:44 -03:00
Guillermo Rauch
80e9edc6a7 Removed onConnect call in handshake since we now have connect packets for all
namespaces, including `''`.
Changed; style fixes
2011-06-12 21:31:10 -03:00
Guillermo Rauch
56c67784d4 Added Socket#packet.
Removed Socket#send.
2011-06-07 17:11:54 -03:00
Arnout Kazemier
5be17ed500 Connect event should now fire again.. 2011-06-07 21:15:22 +02:00
Guillermo Rauch
c83764f99f Fixed error and disconnect handling for subsockets.
Added onConnect call in onOpen.
2011-06-06 12:36:19 -03:00
Vladimir Dronnikov
2ddd53d46c WS#connect -> WS#open 2011-06-06 08:02:17 -04:00
Vladimir Dronnikov
0c52c5c3b2 cleanup 2011-06-06 07:40:41 -04:00
Vladimir Dronnikov
e365ae8ec7 typo. Socket#onConnect() is given use 2011-06-06 07:28:09 -04:00
Vladimir Dronnikov
4e5f83587a Merge branch 'develop' of github.com:3rd-Eden/Socket.IO into develop 2011-06-06 04:52:24 -04:00
Arnout Kazemier
f864d2ec72 Fixes wrong inhert & mixin arguments + added io.sockets 2011-06-06 10:46:00 +02:00
Vladimir Dronnikov
d1f1ce4575 this typos 2011-06-06 03:40:31 -04:00
Vladimir Dronnikov
e71b2b5644 here we go again -- typos mostly 2011-06-02 08:20:07 -04:00
Vladimir Dronnikov
c6d938babe another portion of typos 2011-06-02 06:57:57 -04:00
Vladimir Dronnikov
824282d382 typos 2011-06-02 06:34:41 -04:00
Guillermo Rauch
6267a02056 Refactored Socket 2011-05-30 11:31:24 -03:00
Arnout Kazemier
ae05abc44a Added better descriptions and examples + typo fixes 2011-03-13 00:24:09 +01:00
Arnout Kazemier
c63efa3a36 More modifications to the JSDocs 2011-03-11 16:42:34 +01:00
Arnout Kazemier
d484cb7f78 More JSDoc documentation, replaced the /*! with /** in the licensen headers for dox compatiblity 2011-03-11 13:13:12 +01:00
Arnout Kazemier
bdc37c1650 More documentation 2011-03-10 17:04:53 +01:00