Commit Graph

39 Commits

Author SHA1 Message Date
James Coglan c97548ec8e Update README with subprotocol docs. 2011-12-19 00:17:18 +00:00
James Coglan afe1674fea Update examples with subprotocol logic. 2011-12-19 00:12:51 +00:00
James Coglan 069d9fa0b6 Add #protocol method to parsers. 2011-12-19 00:12:38 +00:00
James Coglan b7a7a643c0 Close on failed handshake with the right code. 2011-12-19 00:09:13 +00:00
James Coglan e5fa350112 Implement subprotocol negotiation. 2011-12-19 00:05:41 +00:00
James Coglan 2f9a318064 Don't use a loop to build the mask array. 2011-12-18 12:59:17 +00:00
James Coglan 092dbcbe33 No tabs. 2011-12-18 12:57:36 +00:00
James Coglan 5750e25a07 Cast mask numbers to C ints once. 2011-12-18 11:39:19 +00:00
James Coglan 204cae5126 Rake tasks for compiling the extension. 2011-12-18 11:29:33 +00:00
James Coglan 7368f4edef Include C extension in the gem. 2011-12-18 11:24:12 +00:00
James Coglan 7f4880fd0e Rewrite masking routine in C. 2011-12-18 10:48:57 +00:00
James Coglan 8e4c6810a6 Change package description. 2011-12-18 09:21:34 +00:00
James Coglan 5597932c84 Closing codes should be masked. 2011-12-18 08:33:58 +00:00
James Coglan 458fd62357 Rewrite Protocol8Parser#frame. 2011-12-17 19:20:17 +00:00
James Coglan 5e84debaa3 Improve protocol-8 parser performance by reading in chunks rather than byte-by-byte. 2011-12-17 18:57:51 +00:00
James Coglan a07e6c4741 Inline a draft-75 parsing function. 2011-12-17 17:51:06 +00:00
James Coglan 82e41ed58a Move Protocol8Parser::Handshake into its own file. 2011-12-17 17:33:14 +00:00
James Coglan 61aec35401 Bump version to 0.1.2. 0.1.2 2011-12-05 09:40:25 +00:00
James Coglan 7f88e28ba5 Fix draft-76 sockets when running behind HAProxy. 2011-12-04 21:32:58 +00:00
James Coglan 3bf33f5080 Bump version to 0.1.1. 0.1.1 2011-11-30 00:58:45 +00:00
James Coglan 4dbdef4c05 Change example back to using onmessage. 2011-11-29 21:09:08 +00:00
James Coglan 66d015662e Use add_event_listener in the tests. 2011-11-29 21:03:52 +00:00
James Coglan 58e369fbfd Fix add_event_listener interface. 2011-11-29 13:12:58 +00:00
James Coglan fff8f6dc30 Tweak README examples. 0.1.0 2011-11-27 02:34:01 +00:00
James Coglan f4ea6b3557 Include links to relevent API specs. 2011-11-27 02:21:09 +00:00
James Coglan 0eec6f57dd Adjust client example to get URL from the socket object. 2011-11-26 19:10:19 +00:00
James Coglan b439f92a83 Remove the Publisher mixin. 2011-11-26 18:23:08 +00:00
James Coglan 3b83de82a0 Fix the browser test page. 2011-11-24 23:44:08 +00:00
James Coglan 2666093d03 Add HTML test page. 2011-11-24 19:11:02 +00:00
James Coglan 8603b342b7 README tweaks. 2011-11-22 19:18:43 +00:00
James Coglan 87cd1e875f Add SSL capability to examples. 2011-11-22 19:05:20 +00:00
James Coglan 443a0cb356 Test TLS connections. 2011-11-22 18:58:49 +00:00
James Coglan b5f3d52c3b Default to port 443 for wss connections. 2011-11-22 09:25:15 +00:00
James Coglan 4c56867cf3 Require forwardable in lib. 2011-11-22 02:28:57 +00:00
James Coglan 1f419b2f36 Require eventmachine in lib. 2011-11-22 02:03:06 +00:00
James Coglan d42498c1bf Client example should be wrapped in EventMachine. 2011-11-22 02:02:00 +00:00
James Coglan 9bcbcd6ef9 Add README. 2011-11-22 01:43:51 +00:00
James Coglan a18791b258 Add examples, which pass all the Autobahn tests. 2011-11-22 01:26:43 +00:00
James Coglan 9ea2a6dbd0 Extract WebSocket classes from Faye 0.7. 2011-11-22 01:07:15 +00:00