James Coglan
|
ac3bb51cbd
|
Adjust encoding operations so that encoding is explicit at the call site, and all strings written to I/O are ASCII-8BIT.
|
2013-07-02 09:46:29 +01:00 |
|
James Coglan
|
b0fa32b9c5
|
Move a couple of tests.
|
2013-05-11 22:27:08 +01:00 |
|
James Coglan
|
074a8a2f16
|
Add #status and #headers methods to the Client driver.
|
2013-05-11 20:42:06 +01:00 |
|
James Coglan
|
5a7fadbcbe
|
Add API for setting custom handshake headers.
|
2013-05-11 20:28:36 +01:00 |
|
James Coglan
|
ba696e8e2c
|
Implement a proper streaming HTTP response parser. This makes the client-side parser more robust and also gives a way to building a driver for TCP servers.
|
2013-05-11 16:56:29 +01:00 |
|
James Coglan
|
be1f1cdc35
|
Rename the module to websocket-driver.
|
2013-05-04 16:43:25 +01:00 |
|
James Coglan
|
f61a5e60f2
|
Add more robust error handling for Hybi and Client and emit error events when the protocol goes wrong.
|
2013-05-02 00:09:34 +01:00 |
|
James Coglan
|
38f0d2dca7
|
Remove the UTF-8 validation tests, let Autobahn deal with that.
|
2013-04-30 23:37:19 +01:00 |
|
James Coglan
|
7b0daf6f3c
|
Implement the EventEmitter interface.
|
2013-04-30 08:53:33 +01:00 |
|
James Coglan
|
38b19487c5
|
A few corrections I made while porting to Node.
|
2013-04-29 20:28:47 +01:00 |
|
James Coglan
|
2662d43b08
|
Some small refactorings I spotted while porting this to Node.
|
2013-04-29 00:14:45 +01:00 |
|
James Coglan
|
10da09afbd
|
Always emit the empty string instead of nil as the closure reason in Hybi.
|
2013-04-20 22:04:24 +01:00 |
|
James Coglan
|
787697dc59
|
Some more large renaming, this time putting everything inside the WebSocket::Protocol namespace.
|
2013-04-20 18:22:09 +01:00 |
|
James Coglan
|
948e6fb2e2
|
Switch to using event objects.
|
2013-04-20 15:17:21 +01:00 |
|
James Coglan
|
520fb66bf5
|
Fix a weird encoding-related test problem on MRI 2.0.0.
|
2013-04-20 13:04:36 +01:00 |
|
James Coglan
|
1be1a33eb1
|
Rename all of the things: Faye::WebSocket is now WebSocket::Protocol.
|
2013-04-20 13:00:25 +01:00 |
|
James Coglan
|
6c10dcf9b2
|
A big old refactoring with loads of new tests. API has been greatly simplified to remove knowledge of the protocol from the I/O adapter.
|
2013-04-20 12:17:08 +01:00 |
|
James Coglan
|
18eb3e96f2
|
Refactor to reduce the coupling between the parser and the socket I/O object.
|
2013-04-15 09:05:52 +01:00 |
|
James Coglan
|
0fa5ed8d48
|
Move root library file so it doesn't conflict with faye-websocket.
|
2013-04-06 07:10:10 +01:00 |
|
James Coglan
|
6fd2c32b60
|
Strip the project down to just the parser classes.
|
2013-04-05 09:06:44 +01:00 |
|
James Coglan
|
41a1968ed6
|
Remove trailing whitespace.
|
2013-02-10 22:58:09 +00:00 |
|
James Coglan
|
ef6b944de8
|
Fix EventMachine-based specs.
|
2012-11-04 18:03:34 +00:00 |
|
James Coglan
|
752da3db34
|
Remove an expensive test.
|
2012-05-21 19:46:38 +01:00 |
|
James Coglan
|
a439f24744
|
Fix build on 1.8.7, exclude rbx-19mode.
|
2012-03-07 23:52:12 +00:00 |
|
James Coglan
|
b74a1899f5
|
Bleurgh, exclude some more things from the build to see if we can pass on RBX.
|
2012-03-07 23:43:32 +00:00 |
|
James Coglan
|
4a5a6a9b60
|
Some JRuby/RBX platform adjustments.
|
2012-03-07 23:39:41 +00:00 |
|
James Coglan
|
10d85183c9
|
Merge branch 'master' into jruby
|
2012-03-03 15:47:55 +00:00 |
|
James Coglan
|
6c2c068761
|
Use rack_response in the test server.
|
2012-03-03 15:47:47 +00:00 |
|
James Coglan
|
6a415f8925
|
Fix tests on MRI.
|
2012-03-03 15:40:07 +00:00 |
|
James Coglan
|
0f74259dc8
|
Adjust tests on JRuby.
|
2012-03-03 15:31:00 +00:00 |
|
Jon Leighton
|
73479a87c6
|
Support JRuby without a C extension. Closes #5.
|
2012-03-02 23:21:06 +00:00 |
|
James Coglan
|
d4b589d4dd
|
Treat numbers as strings when calling Socket#send.
|
2012-02-16 23:15:59 +00:00 |
|
James Coglan
|
66f12bdbfe
|
Set encoding correctly.
|
2012-02-08 21:54:34 +00:00 |
|
James Coglan
|
1df9583f31
|
Make shared examples load first.
|
2012-02-08 21:53:05 +00:00 |
|
James Coglan
|
309aca6bbe
|
Mostly working Goliath adapter. Works for Hybi both with and without HAProxy, doesn't work on draft-76.
|
2012-01-08 21:40:00 +00:00 |
|
James Coglan
|
19eeb5ffd2
|
Include Rainbows server in automated tests.
|
2012-01-07 12:55:17 +00:00 |
|
James Coglan
|
530ce4b71d
|
Initial pass at extracting Rainbows support from Cramp.
|
2012-01-07 12:25:34 +00:00 |
|
James Coglan
|
0347f5f0b8
|
Implement the complete frame parsing protocol for draft-75/76.
|
2011-12-20 20:12:37 +00:00 |
|
James Coglan
|
24a944e3d9
|
Test that parsers are not sensitive to how data is split across packets.
|
2011-12-19 21:40:06 +00:00 |
|
James Coglan
|
d88e6cd7bf
|
Rename Protocol8Parser to HybiParser.
|
2011-12-19 21:28:54 +00:00 |
|
James Coglan
|
5d8666d75f
|
Test WebSocket#protocol method.
|
2011-12-19 00:20:17 +00:00 |
|
James Coglan
|
e5fa350112
|
Implement subprotocol negotiation.
|
2011-12-19 00:05:41 +00:00 |
|
James Coglan
|
66d015662e
|
Use add_event_listener in the tests.
|
2011-11-29 21:03:52 +00:00 |
|
James Coglan
|
443a0cb356
|
Test TLS connections.
|
2011-11-22 18:58:49 +00:00 |
|
James Coglan
|
9ea2a6dbd0
|
Extract WebSocket classes from Faye 0.7.
|
2011-11-22 01:07:15 +00:00 |
|