Commit Graph

107 Commits

Author SHA1 Message Date
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
Myles Byrne
7d4492dd49 uri.scheme -> uri.protocol
The scheme property is undefined
2012-10-09 17:53:38 -05:00
Guillermo Rauch
1af5227fb8 socket: added write alias for send. 2012-10-07 18:35:31 -07:00
Guillermo Rauch
d2ba68e9a1 socket: fix passing false as secure getting overridden 2012-10-04 14:21:16 -07:00
Guillermo Rauch
ffdee5f5f8 socket: fix default port for SSL when secure is not supplied 2012-10-04 14:20:11 -07:00
Guillermo Rauch
a909a6494b socket: default secure to true for SSL-served pages that have not specified a connection string 2012-10-04 10:57:58 -07:00
Guillermo Rauch
2fb4cabf09 Release 0.3.0 2012-10-04 10:29:17 -07:00
cadorn
62b77b9f7b emit heartbeat 2012-09-25 12:36:55 -07:00
cadorn
a0830635f8 don't need to send pong any more 2012-09-25 12:36:36 -07:00
cadorn
ae6eb1f8d1 ping from client 2012-09-12 16:11:45 -07:00
cadorn
2a47ca1af0 fixed timeout 2012-09-07 17:06:22 -07:00
cadorn
c9ce1fd339 fix initial timeout 2012-09-07 16:31:28 -07:00
cadorn
d72e42cc9e ack pong & variable timeout timer 2012-09-07 16:00:24 -07:00
Guillermo Rauch
ad5c2ee021 transport: implemented timestamps 2012-08-01 17:23:12 -07:00
Guillermo Rauch
ece335ea17 socket: default policyPort to 843 2012-07-02 08:00:17 -07:00
Guillermo Rauch
89a1e010c7 socket: added toString to fake event sent to onmessage 2012-07-02 07:43:35 -07:00