Commit Graph

122 Commits

Author SHA1 Message Date
albertyfwu
17d2dc275c only flush if writeBuffer is length 0
in onClose, cleanup writeBuffer, callbackBuffer
2013-03-19 12:11:55 -04:00
albertyfwu
a14a0bf676 added drain event 2013-03-18 13:24:14 -04:00
albertyfwu
4998d01503 fix flush and flushComplete events 2013-03-17 22:18:33 -04:00
albertyfwu
3a499d1bac added documentation for send and flush, flushComplete events 2013-03-17 21:03:27 -04:00
albertyfwu
0062f4ae03 added flush event to Socket.flush 2013-03-17 20:56:10 -04:00
albertyfwu
c12c1e29fa fixed drain bug splicing with upgrading 2013-03-17 11:50:39 -04:00
albertyfwu
25d092ca98 changes 2013-03-17 02:17:24 -04:00
albertyfwu
c650d9ad55 added in delayed flushing/callbacks 2013-03-17 02:07:20 -04:00
albertyfwu
b4c3eb8a23 empty callbackBuffer 2013-03-17 01:56:08 -04:00
albertyfwu
d081750310 changed int to var 2013-03-17 01:52:27 -04:00
albertyfwu
994b569e86 add support for callbacks with socket.send() 2013-03-17 01:52:26 -04:00
Guillermo Rauch
5baecf5cc6 socket: implement qs support for string 2013-03-16 09:19:34 -07:00
Ryan Liu
39d34ea53f capitalized eio, added a comment saying that the protocol is an int, not a string 2013-03-05 19:00:26 -05:00
Ryan Liu
99a4601dcf added query.eio to take protocol version from parser. Also changed Socket.protocol to take that same protocol version 2013-03-05 18:09:41 -05:00
Malcom Gilbert
04b3da0944 remove uid qs 2013-02-15 19:32:29 -05:00
Andor Goetzendorff
c4528ecbe7 close also if socket.readyState is on "opening" 2013-01-30 16:59:22 +01:00
Sweet Song
5929dcdea9 parser.js: removed the file
package.json: added the engine.io-parser dependency
everything else: switched to engine.io-parser
2013-01-28 11:40:15 -05:00
Andor Goetzendorff
05c4bf02fe client now ignores unsupported upgrades 2013-01-17 17:35:18 +01:00
Guillermo Rauch
2e07479ef0 socket: added data event (as synonym to message) 2012-12-17 00:10:24 -03:00
Guillermo Rauch
ab70697913 socket: remove resource and fix path 2012-12-16 20:52:01 -03:00
Guillermo Rauch
a7d4d192d6 socket: fixed access to opts 2012-12-16 20:51:53 -03:00
Guillermo Rauch
00a5640a12 socket: constructor can accept uri/opts simultaneously 2012-12-16 20:34:18 -03:00
Guillermo Rauch
3b032f74ec socket: proper host/hostname support 2012-12-16 20:03:23 -03:00
Guillermo Rauch
1ba966b865 socket: ensure onclose idempotency 2012-12-16 19:55:37 -03:00
Guillermo Rauch
0514526653 socket: added onerror instrumentation 2012-12-16 19:55:24 -03:00
Guillermo Rauch
55076c3f56 socket: fix style 2012-12-16 19:52:33 -03:00
Sérgio Ramos
23315f46a9 use window to detect platform and fix global reference 2012-12-12 16:43:49 +00:00
Guillermo Rauch
adadcdfbe8 *: fix references to global (fixes #79) 2012-12-10 12:10:20 -03:00
Guillermo Rauch
157f0f94d4 socket: export constructors and utils 2012-12-08 20:13:45 -03:00
Guillermo Rauch
4c7725c267 socket: export protocol 2012-12-08 19:56:21 -03:00
Guillermo Rauch
9e8a3bd0b3 socket: added compatibility with pre-1.0.0 2012-12-08 19:43:35 -03:00
Guillermo Rauch
65abecb780 *: use local emitter wrapper 2012-12-08 19:43:21 -03:00
Guillermo Rauch
16a853cfb5 *: fix comments 2012-12-08 19:32:31 -03:00
Guillermo Rauch
5b6f52e23b socket: make Socket self-initializable for component require 2012-12-08 19:19:07 -03:00
Guillermo Rauch
dfd49f3a08 socket: use emitter component 2012-12-08 19:18:47 -03:00
Guillermo Rauch
0cb254539e socket: fix closing the socket in an open listener [mmastrac] 2012-12-03 08:53:46 -03:00
Guillermo Rauch
31460d8407 socket: perform ping interval/timer cleanup [mmastrac] 2012-12-03 08:44:25 -03:00
Fedor Indutny
fcbe68da1f socket: handle probe's transport errors 2012-10-31 19:25:59 +04:00
Guillermo Rauch
f2103618f4 socket: fix hostname instead of host 2012-10-23 13:13:53 -07:00
Guillermo Rauch
ddafee2eb6 socket: avoid duplicate port defaults 2012-10-23 13:04:52 -07:00
Guillermo Rauch
1337467608 socket: introduce introspection hooks 2012-10-23 11:17:47 -07:00
Guillermo Rauch
1b4d987ec1 socket: introduced host and port location defaults 2012-10-21 11:01:53 -07:00
Guillermo Rauch
8354de9861 socket: unset id upon close 2012-10-21 09:40:26 -07:00
Guillermo Rauch
cdbcedcb57 socket: clear transport listeners upon force close 2012-10-21 09:40:11 -07:00
Guillermo Rauch
fcea229158 Merge pull request #55 from LearnBoost/improve/location-handling
Improve/location handling
2012-10-21 09:28:30 -07:00
cadorn
e2364f808b don't need timer reset here 2012-10-16 13:20:23 -07:00
cadorn
6eeb21575b timeout fixes 2012-10-16 13:07:34 -07:00
Guillermo Rauch
4b408f6265 socket: style work 2012-10-16 09:56:56 -07:00
Guillermo Rauch
26c6790d31 socket: style work 2012-10-16 09:53:28 -07:00
Fedor Indutny
f8cff26fc5 socket: reset timeout on any incoming data 2012-10-16 23:39:16 +07:00