Mikito Takada
6f80ef14b7
Minor improvements to readability
2012-03-27 16:52:28 -07:00
Mikito Takada
b8c3f79936
Fix XHR.check, which was throwing an error transparently and causing non-IE browsers to fall back to JSONP
2012-03-27 16:37:05 -07:00
Alexey Raksha
edef56ee8e
"on window close" correct disconnect
2012-03-16 14:49:23 +04:00
Guillermo Rauch
ecd752a7ea
Release 0.9.2
2012-03-13 10:52:32 -03:00
Alexey Raksha
3e5d3a3ab5
Transport order set by "options"
2012-03-12 17:42:42 +04:00
Guillermo Rauch
84de1cfed8
Release 0.9.1-1
2012-03-02 08:39:18 -03:00
Guillermo Rauch
1d7bdb5ea2
Release 0.9.1
2012-03-02 08:12:22 -03:00
Felix Geisendörfer
c9b54f20ca
Clear heartbeat timer when closing socket
2012-02-29 15:19:23 +01: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
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
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
Kyle Simpson
601b516818
tweaking code so it doesn't throw an exception when used inside a WebWorker in Firefox
2012-01-31 01:18:08 -08: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
crickeys
6075167470
Do not rely on Array.prototype.indexOf as it breaks with pages that use the Prototype.js library.
2012-01-17 15:13:06 -06:00
Arnout Kazemier
49afababe2
use @einaros ws module instead of the old crap one
2011-12-29 11:20:56 +01:00
Guillermo Rauch
94e1f49a45
Merge pull request #354 from vedratna/master
...
fix for broken setCloseTimeout and 'IE+xhr-polling' goes into infinite loop on network disconnection
2011-12-20 22:11:36 -08:00
vedratna-velani
816bf1d19c
fix for broken closeTimeout and 'IE + xhr' goes into infinite loop on disconnection
2011-12-21 11:21:13 +05:30
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
Guillermo Rauch
9879d8c224
Merge pull request #327 from diegovar/patch-1
...
Removed decoding of parameters when chunking the query string.
2011-12-20 19:28:08 -08:00
Guillermo Rauch
201a0eb1c2
Merge pull request #353 from dget/master
...
Fix connections between http/https in IE
2011-12-20 19:25:35 -08:00
Dan Getelman
0ba168c9b6
Cross domain requests properly fall back with SSL
2011-12-20 06:50:47 -05: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
Guillermo Rauch
d12e0714e9
Release 0.8.7
2011-11-05 13:47:31 -07: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
Diego Varese
70b47d7dc1
Removed decoding of parameters when chunking the query string. This was used later on to construct the url to post to the socket.io server for connection and if we're adding custom parameters of our own to this url (for example for OAuth authentication) they were being sent decoded, which is wrong.
2011-11-01 15:27:15 -07:00
Guillermo Rauch
3480429371
Fixed handling of \n by jsonp-polling
2011-10-27 12:08:06 +08:00
Guillermo Rauch
3d65f393d3
Fixed jsonp-polling feature detection.
...
JSONP-Polling can't run inside of a webworker.
2011-10-27 11:36:48 +08:00
Guillermo Rauch
ff6d17ff18
Added temporary hack for indicator detection in ff webworker.
...
We must add `util.ua.gecko` instead.
2011-10-27 11:32:59 +08:00
Guillermo Rauch
572296a7ff
Added proper check for document in global.
2011-10-27 11:32:44 +08:00
Guillermo Rauch
e2e878787b
Merge branch 'master' of github.com:LearnBoost/socket.io-client
2011-10-27 11:23:36 +08:00
Guillermo Rauch
ec5d96539c
Fixed host discovery lookup [holic].
2011-10-27 11:21:18 +08:00
jscharlach
172db2035f
Adding a check to the close timeout reset so that it won't reset the timeout for a closed connection. This is necessary because the server sends a 'disconnect' message after the client runs a socket.disconnect() which causes the client to reset the close timeout and effectively hang until the the timeout occurs.
2011-10-24 13:26:05 -03:00
Guillermo Rauch
bbdf68975c
Merge branch 'master' into webworker
2011-10-19 00:13:33 -07:00
Guillermo Rauch
a935aeb20f
Merge pull request #313 from Leonya/master
...
Google Closure Compiler shows a warning for this line of code
2011-10-19 00:12:20 -07:00
Guillermo Rauch
12f61cf122
Merge pull request #315 from danielbeardsley/disconnect_immediately
...
Remove closeTimeout wait between transport disconnect and socket.io disconnect
2011-10-19 00:11:24 -07:00
Guillermo Rauch
cd35cccfac
Merge pull request #246 from 3rd-Eden/jsonppollingindicator
...
This hack kills the loading indicator in FF
2011-10-19 00:11:03 -07:00
Guillermo Rauch
241eda3d43
Fixed swfobject and web_socket.js to not assume window.
2011-10-18 16:29:21 -07:00
Guillermo Rauch
c7e107a19c
Added reference to global object
2011-10-18 16:29:07 -07:00
Guillermo Rauch
4be456f65c
Fixed CORS detection for webworker
2011-10-18 16:28:46 -07:00
Guillermo Rauch
6ffd18abe9
Fix defer for webkit in a webworker.
2011-10-18 16:28:19 -07:00
Guillermo Rauch
f8deca10e6
Fixed io.util.request to not rely on window.
2011-10-18 16:27:19 -07:00
Guillermo Rauch
d376099930
Fixed; find WebSocket in global instead of window
2011-10-18 16:26:53 -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
933874a906
Fixed; look up location in global object.
2011-10-18 16:25:11 -07:00
Guillermo Rauch
d7a9e9e3f7
Release 0.8.5
2011-10-07 11:22:41 -07:00