Guillermo Rauch
|
b948f858fb
|
socket: fix flush event parameter
|
2012-08-10 10:45:48 -07:00 |
|
Guillermo Rauch
|
271585189f
|
socket: added flush/drain events (fixes #56)
|
2012-08-10 10:39:09 -07:00 |
|
Guillermo Rauch
|
73cf06cc34
|
Added accessor to transport handshake request
|
2012-07-03 14:17:17 -07:00 |
|
Guillermo Rauch
|
566acd1ffd
|
socket: transfer sid to transport upon opening
|
2012-07-02 11:02:39 -07:00 |
|
Guillermo Rauch
|
82ec5a8bc9
|
socket: ignore transport errors from discarded transports (fixes #26)
|
2012-07-02 07:52:36 -07:00 |
|
Guillermo Rauch
|
00f9738292
|
socket: added polling cycle force for fast upgrade
|
2012-07-02 07:34:02 -07:00 |
|
Lal Jérémy
|
d1d35263b1
|
Socket.ping() should be idempotent, if not race conditions can appear and connection closes.
|
2012-02-22 15:13:01 +01:00 |
|
Lal Jérémy
|
b56354c84b
|
Update lib/socket.js
|
2012-02-22 00:20:16 +01:00 |
|
einaros
|
89a30ec268
|
avoid suggesting upgrades which arent enabled on the server
|
2012-01-26 09:28:35 -08:00 |
|
Guillermo Rauch
|
e305e16ad7
|
Stopped sending interval to client.
|
2012-01-17 09:51:44 -08:00 |
|
Guillermo Rauch
|
cf57b9a01a
|
Empty packet data translates into empty message.
|
2012-01-16 09:25:34 -08:00 |
|
Guillermo Rauch
|
86adb61f28
|
Ensured Socket#flush checks for buffer length.
|
2012-01-15 22:19:07 -08:00 |
|
Guillermo Rauch
|
04723dd50c
|
Re-implemented maybeUpgrade to consider upgrade packet.
|
2012-01-15 22:18:34 -08:00 |
|
Guillermo Rauch
|
cb22f219d7
|
Renamed close readyState to closed.
|
2012-01-14 11:43:33 -08:00 |
|
Guillermo Rauch
|
5e9e167ed4
|
Fixed docs.
|
2012-01-14 09:35:07 -08:00 |
|
Guillermo Rauch
|
704312271b
|
Added instrumentation to upgrade.
|
2012-01-14 09:34:57 -08:00 |
|
Guillermo Rauch
|
83c2711009
|
Implemented Socket buffering/flushing:
- Fires upon upgrade
- Fires when the transport is drained.
|
2012-01-14 09:34:29 -08:00 |
|
Guillermo Rauch
|
fba2a89b79
|
Implemented sendPacket API homologous to client API.
|
2012-01-14 09:34:03 -08:00 |
|
Guillermo Rauch
|
a2f498ac65
|
Started adding buffering to Socket.
|
2012-01-14 09:33:01 -08:00 |
|
Guillermo Rauch
|
45f5b2a113
|
Fixed debug namespace convention.
|
2012-01-13 15:32:28 -08:00 |
|
Guillermo Rauch
|
26e3d1c546
|
Added closing readyState.
|
2012-01-04 17:17:58 -08:00 |
|
Guillermo Rauch
|
001d80ac40
|
Fixed bind, I thought it took an array of arguments.
|
2012-01-04 13:52:05 -08:00 |
|
Guillermo Rauch
|
e4ee394dd5
|
Fixed; close packet is specific to xhr-polling transport
|
2012-01-04 13:41:23 -08:00 |
|
Guillermo Rauch
|
cf0550ac67
|
Added defenses for onClose and close.
|
2012-01-03 10:39:48 -08:00 |
|
Guillermo Rauch
|
cce20d5e16
|
Refactored rasons for close
|
2012-01-03 10:39:29 -08:00 |
|
Guillermo Rauch
|
10cfe1bf86
|
Refactored clearTransport
|
2012-01-03 10:39:07 -08:00 |
|
Guillermo Rauch
|
8407a97aac
|
Refactored setTransport.
|
2012-01-03 10:38:40 -08:00 |
|
Guillermo Rauch
|
a9bcf6be09
|
Fixed ping logic
|
2012-01-03 10:38:01 -08:00 |
|
Guillermo Rauch
|
f25a69e363
|
Added debug line
|
2012-01-03 10:37:50 -08:00 |
|
Guillermo Rauch
|
fdcaf361aa
|
Added defense for packets after socket is closed
|
2012-01-03 10:37:23 -08:00 |
|
Guillermo Rauch
|
f66bd79eb4
|
Fixed handshake packet
|
2012-01-03 10:37:10 -08:00 |
|
Guillermo Rauch
|
61ec2d92dc
|
Keep track of request that originated socket.
|
2012-01-03 10:36:49 -08:00 |
|
Guillermo Rauch
|
817ddee41f
|
Initialized debug scope for Socket
|
2012-01-03 10:36:30 -08:00 |
|
Guillermo Rauch
|
7d28a1e362
|
Added socket interface.
|
2011-12-29 13:14:39 -05:00 |
|