James Coglan
|
fc4c166fef
|
Remove an item from .npmignore.
|
2013-04-29 00:02:46 +01:00 |
|
James Coglan
|
ab416619b7
|
Add a README.
|
2013-04-29 00:01:40 +01:00 |
|
James Coglan
|
41ddd82932
|
Add tests for Hybi and Client handlers and fix some minor bugs.
|
2013-04-28 23:22:05 +01:00 |
|
James Coglan
|
847bdc1773
|
Strip the repo down to just the protocol handlers.
|
2013-04-28 19:04:03 +01:00 |
|
James Coglan
|
13e27bdc3b
|
Update Node versions for Travis.
|
2013-04-28 18:56:32 +01:00 |
|
James Coglan
|
62a0c7597f
|
First steps toward streaming I/O-independent parsing. Implement the Hybi and Client protocol handlers as stateful protcol drivers with two duplex streams, one for messages and one for I/O.
|
2013-04-28 18:55:58 +01:00 |
|
James Coglan
|
78f8bfb26b
|
Remove parser specs.
|
2013-04-28 14:01:28 +01:00 |
|
James Coglan
|
99aacf67a5
|
Bump copyright date.
|
2013-02-15 00:02:57 +00:00 |
|
James Coglan
|
1a6cdd3e43
|
Bump version to 0.4.4.
|
2013-02-14 22:40:48 +00:00 |
|
James Coglan
|
0e2417cd51
|
Change name used in Autobahn tests.
|
2013-02-14 22:39:13 +00:00 |
|
James Coglan
|
86f882f189
|
Return early rather than have an else-clause.
|
2013-02-10 23:41:37 +00:00 |
|
James Coglan
|
87f1abad08
|
s/close/finalize/ -- I missed one rename in the last commit.
|
2012-12-24 16:43:41 +00:00 |
|
James Coglan
|
b86f505441
|
If WebSocket.close() is called without asking for an ack, then don't return if we're in the CLOSING state. This can happen if one peer sends a closing frame and the other peer terminates TCP before sending the reply, and as currently implemented this will no emit a close event or end the Node stream.
|
2012-12-24 16:37:57 +00:00 |
|
James Coglan
|
14a1a7372d
|
Use progress bar using Autobahn client tests.
|
2012-12-23 18:25:50 +00:00 |
|
James Coglan
|
ee22f75959
|
Remove trailing whitespace.
|
2012-12-22 23:13:04 +00:00 |
|
James Coglan
|
7b63baa5a6
|
Fix specs on v0.9.
|
2012-12-22 23:12:08 +00:00 |
|
James Coglan
|
0dc749e565
|
Merge pull request #18 from gsoltis/master
Fix for closing a socket in the CONNECTING state
|
2012-10-15 11:54:53 -07:00 |
|
Greg Soltis
|
3280f38c27
|
Fix check of readyState for immediate close
|
2012-10-15 11:34:44 -07:00 |
|
James Coglan
|
64b52a0be2
|
Update Node versions for Travis.
|
2012-10-13 17:02:07 +01:00 |
|
James Coglan
|
bd6e89f290
|
If close() is called in the CONNECTING readyState, then close the TCP connection immediately without waiting for the handshake to complete.
|
2012-10-13 16:59:58 +01:00 |
|
James Coglan
|
f50de64532
|
Update changelog.
|
2012-07-09 08:58:00 +01:00 |
|
James Coglan
|
d071ec3acd
|
Check that incoming requests have an output stream before doing anything with it.
|
2012-07-08 20:30:53 +01:00 |
|
James Coglan
|
59fd729a03
|
Bump version to 0.4.3.
|
2012-07-01 18:15:01 +01:00 |
|
James Coglan
|
b458959e6a
|
Update Node versions for Travis.
|
2012-07-01 18:12:54 +01:00 |
|
James Coglan
|
7f18af7c90
|
Use Connection:close on EventSource connections.
|
2012-05-21 19:41:26 +01:00 |
|
James Coglan
|
680d8fc759
|
Remove an expensive test.
|
2012-05-21 19:37:40 +01:00 |
|
James Coglan
|
90d039e371
|
Bump version to 0.4.2.
|
2012-04-06 18:57:29 +01:00 |
|
James Coglan
|
b42cdf741d
|
Add error code 1011.
|
2012-04-06 13:52:21 +01:00 |
|
James Coglan
|
bd7c52dfa2
|
Use / as the default path if the client URI has no path.
|
2012-04-01 22:57:16 +01:00 |
|
James Coglan
|
adee8ba51c
|
Bump version to 0.4.1.
|
2012-02-26 19:00:04 +00:00 |
|
James Coglan
|
3675cfb798
|
Treat anything but a Buffer as a text message in WebSocket#send.
|
2012-02-25 09:49:53 +00:00 |
|
James Coglan
|
1222308201
|
Return boolean from EventSource.send().
|
2012-02-16 23:15:16 +00:00 |
|
James Coglan
|
8c9ae84740
|
Treat numbers as strings when passed to Socket.send().
|
2012-02-16 23:09:29 +00:00 |
|
James Coglan
|
d404c78c46
|
Add items to .npmignore.
|
2012-02-13 12:43:12 +00:00 |
|
James Coglan
|
a6e2fe2aaa
|
Bump version to 0.4.0.
|
2012-02-13 09:15:57 +00:00 |
|
James Coglan
|
8f71ec1f8b
|
Set EventSource readyState during constructor and attach pings and event listeners after sending handshake.
|
2012-02-13 00:26:43 +00:00 |
|
James Coglan
|
74b76e56b7
|
Only send ping messages for EventSource if the user specifies an interval, for symmetry with WebSocket.
|
2012-02-12 23:59:20 +00:00 |
|
James Coglan
|
c958c5ead9
|
Don't send a message on connect from the server.
|
2012-02-12 23:54:03 +00:00 |
|
James Coglan
|
faa1f11c28
|
Clean up ping code.
|
2012-02-11 14:06:43 +00:00 |
|
James Coglan
|
a9659df7d8
|
Set readyState to OPEN as soon as possible.
|
2012-02-11 13:36:12 +00:00 |
|
James Coglan
|
fe4314e62b
|
Revert accidental change to ws.html.
|
2012-02-11 12:32:51 +00:00 |
|
James Coglan
|
8523605f88
|
Document return value of WebSocket.ping().
|
2012-02-11 12:10:39 +00:00 |
|
James Coglan
|
25794989f0
|
Push ping logic down into HybiParser.
|
2012-02-11 12:07:40 +00:00 |
|
James Coglan
|
29cae88d2c
|
Provide a default value (empty string) for WebSocket ping messages.
|
2012-02-11 12:02:04 +00:00 |
|
James Coglan
|
e6c03b7629
|
Add a ping() interface to server-side WebSocket and EventSource connections.
|
2012-02-11 11:59:13 +00:00 |
|
James Coglan
|
d18a818699
|
Do not buffer send() calls during the CONNECTING stage of WebSocket clients -- browsers throw an error in this case.
|
2012-02-11 11:30:28 +00:00 |
|
James Coglan
|
a48333ee1b
|
Node 0.5 is not available on Travis.
|
2012-02-11 11:23:37 +00:00 |
|
James Coglan
|
6de9e01e69
|
Buffer calls to ws.send() until the handshake is completed.
|
2012-02-11 11:22:28 +00:00 |
|
James Coglan
|
51d5978283
|
Pass options object to tls.connect or it hangs on Node 0.7.
|
2012-02-08 22:44:04 +00:00 |
|
James Coglan
|
a2b2559bd6
|
Add npm test script to package.json.
|
2012-02-08 22:26:00 +00:00 |
|