Commit Graph

512 Commits

Author SHA1 Message Date
Guillermo Rauch
cffb4ebdbd socket: fixed disconnect xhr url and made it actually sync 2012-08-01 15:10:24 -07:00
Guillermo Rauch
b5c7d6e486 Merge branch 'master' of github.com:LearnBoost/socket.io-client 2012-08-01 12:02:51 -07:00
Guillermo Rauch
34d15a7d56 xhr-polling: style 2012-08-01 12:02:31 -07:00
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
494d87db67 Release 0.9.8 2012-07-24 17:35:39 -07:00
Guillermo Rauch
49ac184cd1 jsonp-polling: fixed open check 2012-07-24 10:55:52 -07:00
Guillermo Rauch
bf76f927b1 xhr-polling: fixed open check 2012-07-24 10:54:55 -07:00
Guillermo Rauch
0ae824e768 socket: fn check no longer needed 2012-07-24 10:50:35 -07:00
Guillermo Rauch
dc9dbb75fb Merge branch 'master' of github.com:LearnBoost/socket.io-client
Conflicts:
	dist/socket.io.min.js
2012-07-24 10:48:52 -07:00
Guillermo Rauch
d8923ee2af transport: fix potential open collision 2012-07-24 10:47:03 -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
Guillermo Rauch
6062a0620f Merge pull request #427 from ycarmel/master
Fix regression due to Pull Request #424 (no reconnect if handshake fail)
2012-05-02 02:48:41 -07:00
ycarmel
1d437b55c2 Update lib/socket.js 2012-05-02 11:22:09 +03:00
Nathanael Anderson
8dc031d072 Fix for iPad/iPod/iPhone and websocket crash on browser resume. 2012-05-01 14:11:46 -05: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
bb9083aeb7 Merge branch 'master' of github.com:LearnBoost/socket.io-client
Conflicts:
	dist/socket.io.min.js
2012-04-17 19:50:32 -03:00
Guillermo Rauch
f8bc56da8b Release 0.9.6 2012-04-17 19:49:49 -03:00
Michael Reinsch
57127544c8 don't position the jsonp form off the screen, this causes the default browser on some androids to actually extend the width of the document 2012-04-06 22:39:59 +09:00
Guillermo Rauch
ad6c1483d8 Release 0.9.5 2012-04-05 14:35:22 -03:00
Guillermo Rauch
a426cb50ad Release 0.9.4 2012-04-01 01:45:44 -03:00
Guillermo Rauch
f50146e20b Fixes polling loop upon reconnect advice (fixes #438). 2012-04-01 01:44:11 -03:00
Guillermo Rauch
49ff307d38 Release 0.9.3 2012-03-28 09:50:31 -03:00
Guillermo Rauch
779095a25e Fixed handshake transports / client options transports intersection. 2012-03-28 09:49:33 -03:00
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