Guillermo Rauch
1b98649bc4
socket: style
2012-12-18 17:22:14 -03:00
Guillermo Rauch
8138a4d070
socket: fix event packet encoding
2012-12-18 15:13:04 -03:00
Guillermo Rauch
bea30df54a
socket: fix send message unshifting
2012-12-18 15:11:53 -03:00
Guillermo Rauch
8eb209e0cc
socket: send connect packet upon open
2012-12-17 14:27:34 -03:00
Guillermo Rauch
bccc6d1ddd
socket: fix packet method
2012-12-17 14:27:19 -03:00
Guillermo Rauch
881f284ff5
socket: remove reconnecting event
2012-12-17 08:37:10 -03:00
Guillermo Rauch
f4c7eb619a
socket: implemented on
2012-12-16 19:41:22 -03:00
Guillermo Rauch
7d205214f0
socket: added onack instrumentation
2012-12-13 10:52:12 -03:00
Guillermo Rauch
3bcdba0b4c
socket: fixed event emitting instrumentation
2012-12-13 10:46:06 -03:00
Guillermo Rauch
a6820e3a0d
socket: improved style
2012-12-13 10:35:32 -03:00
Guillermo Rauch
19e8048ec5
socket: don't emit open and close
2012-12-13 10:05:46 -03:00
Guillermo Rauch
d523a25cc0
socket: emit events after connect fires
2012-12-13 10:05:09 -03:00
Guillermo Rauch
0ce8934eed
socket: turn acks into an object
2012-12-13 08:51:16 -03:00
Guillermo Rauch
60a17801f9
socket: do not remove event name from args
2012-12-13 08:47:05 -03:00
Guillermo Rauch
1a27ddb583
socket: make events public for plugins to extend
2012-12-13 08:12:28 -03:00
Guillermo Rauch
d5652feadc
1.0 client initial commit
2012-12-10 03:31:57 -03:00
Guillermo Rauch
4479c9d9cd
socket: disable disconnect on unload by default
2012-08-10 13:29:36 -07:00
neino3
335e8b2244
set withCredentials to ture only if xdomain
2012-08-08 06:14:32 +09:00
Guillermo Rauch
cffb4ebdbd
socket: fixed disconnect xhr url and made it actually sync
2012-08-01 15:10:24 -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
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