Commit Graph

141 Commits

Author SHA1 Message Date
Guillermo Rauch
d841b3e5e5 Merge pull request #454 from nateps/master
Don't try to reconnect after receiving a 403 authorization error
2012-08-01 12:00:18 -07:00
Guillermo Rauch
a22688470d socket: fixed force disconnect URI 2012-08-01 11:53:29 -07:00
nateps
225e86f333 Don't try to reconnect after receiving a 403 authorization error 2012-07-27 16:58:29 -07:00
Guillermo Rauch
fb6a4d5329 Merge pull request #438 from ycarmel/master
Fix issues around fallback mechanism and xhr-polling heartbeat
2012-07-25 17:36:59 -07:00
Guillermo Rauch
0ae824e768 socket: fn check no longer needed 2012-07-24 10:50:35 -07:00
Brian Gruber
888e9008e5 Properly formats disconnectSync URI and sends it
Also, fixes an issue if using https AND InternetExplorer on crossdomain
sites. In these cases the use of XDomainRequest was not working because
it relied on checks to see if the protocols matched or not. For some
reason, paramaters weren't being passed around and so these checks
failed incorrectly.
2012-07-19 23:17:58 -05:00
Guillermo Rauch
4d5cc77ea5 Merge pull request #421 from TutoringAustralasia/manual_buffer_flushing
Adding support for manual buffer flushing
2012-07-09 08:42:15 -07:00
Ruben Daniels
9d0c0631f3 * Added fail safe for open not being a function error 2012-06-27 19:35:51 -07:00
Yuval Carmel
53ff1a510d Fix disconnects when fallback to xhr-polling (heartbeat related) 2012-05-24 17:02:33 +03:00
Yuval Carmel
ae18a17cdf Fix reconnect issue when using the fallback mechanism of connect timeout 2012-05-24 17:00:14 +03:00
ycarmel
1d437b55c2 Update lib/socket.js 2012-05-02 11:22:09 +03:00
ycarmel
d37ec4ed2f Fix for Issue #430 - multiple connect on reconnect 2012-04-30 00:47:53 +03:00
Chelsea Robb
a55ed9bf57 Renamed 'auto flush' option to manualFlush 2012-04-24 12:52:23 +10:00
Gabe Hollombe
afa76b4f23 add auto flush property (defaults to false) and a flushBuffer method to allow manual buffer flushing 2012-04-23 14:00:06 +07:00
Guillermo Rauch
779095a25e Fixed handshake transports / client options transports intersection. 2012-03-28 09:49:33 -03:00
Alexey Raksha
edef56ee8e "on window close" correct disconnect 2012-03-16 14:49:23 +04:00
Alexey Raksha
3e5d3a3ab5 Transport order set by "options" 2012-03-12 17:42:42 +04:00
Felix Geisendörfer
c9b54f20ca Clear heartbeat timer when closing socket 2012-02-29 15:19:23 +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
Vyacheslav Bazhinov
7b31a42886 Fixed error handling during connection process.
Xhr-based transports didn't close on "not handshaken" error and spammed server with "null".
2012-01-20 15:30:31 +07:00
Guillermo Rauch
ccae35a047 Merge pull request #328 from wackfordjf3/patch-1
Clears the timeout from reconnection attempt when there is a successful or failed reconnection
2011-12-20 19:28:33 -08:00
vedratna
7155d84af9 disabled reconnection on error if reconnect option is set to false 2011-12-05 18:08:59 +05:30
Gavin Uhma
336430a3be set withCredentials to true before xhr to fix authentication 2011-11-08 18:28:21 -04:00
wackfordjf3
3884959577 Clears the timeout from reconnection attempt when there is a successful or failed reconnection.
This fixes the issue of setTimeout's carrying over from previous reconnection and changing (skipping) values of self.reconnectionDelay in the newer reconnection.
2011-11-02 12:58:59 -07:00
Guillermo Rauch
4300d8364f FIxed; use global instead of window and dont rely on document. 2011-10-18 16:26:26 -07:00
Guillermo Rauch
ab60690883 Fixed; JSON-P handshake if CORS is not available 2011-10-18 16:26:01 -07:00
Guillermo Rauch
8542fcda19 Fixed, use shortcut for options. 2011-10-18 16:25:38 -07:00
Guillermo Rauch
43f9d29c41 Fixed xDomain detection (fixes #462 from socket.io). 2011-09-03 14:30:52 -07:00
Guillermo Rauch
24c30177de Fixed; make Socket.IO XHTML doctype compatible (fixes #460 from server) 2011-09-03 10:57:49 -07:00
Guillermo Rauch
0419213a74 Merge pull request #273 from 3rd-Eden/feature/policy
Feature/policy
2011-08-31 09:35:34 -07:00
Arnout Kazemier
cf6de27faf Fix for failing fallback in websockets 2011-08-16 00:39:54 +02:00
Guillermo Rauch
0b6c3db573 Added check on Socket#onConnect to prevent double connect events on the main manager. 2011-08-12 10:12:42 -07:00
Arnout Kazemier
4f34905288 Merge branch 'master' of github.com:LearnBoost/socket.io-client into feature/policy 2011-08-09 19:21:28 +02:00
Arnout Kazemier
6609dee4db Added default socket.io-flashsocket port 2011-08-09 19:21:01 +02:00
Arnout Kazemier
f4e8abd4ec Inital checkin on Node support 2011-08-07 19:37:56 +02:00
Arnout Kazemier
e664c716e6 Added support for different policy file ports without having to port forward 843
on the server side
2011-08-05 15:24:16 +02:00
Arnout Kazemier
b235e709de Merge branch 'master' of github.com:LearnBoost/socket.io-client into query
Conflicts:
	support/test-runner/app.js
	test/socket.test.js
2011-08-03 00:27:07 +02:00
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
2b4d7c8d15 Merge branch 'master' of github.com:LearnBoost/socket.io-client into query
Conflicts:
	lib/io.js
2011-07-17 23:52:25 +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
4aaa4137a0 Work in progress of adding query string support, it should be availble in all
transports
2011-07-07 20:24:56 +02:00
Arnout Kazemier
826c496787 Working in progress of adding querystring support to the client
Also fixed some missing semicolons, bug in reconnect and add reconnect limit
2011-07-06 00:39:05 +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