Commit Graph
178 Commits
Author SHA1 Message Date
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 8cbcfa2026 Parser should actually use the options variable that's passed in. 2013-04-19 09:00:14 +01:00
James Coglan 87c934fd5a Make handshake_response private and provide a more abstrct start() method to tell the parser to begin responding. 2013-04-19 08:47:19 +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 7fbb02335c Test on Rubinius on Travis CI. 2013-04-08 00:45:37 +01:00
James Coglan 653cf4f5c7 Treat the Connection and Upgrade headers case-insensitively, and fail gracefully when they are absent. 2013-04-07 23:31:37 +01:00
James Coglan 28a98755e0 List headers in alphabetical order. 2013-04-06 08:15:52 +01:00
James Coglan ece1c0f59d Document the server- and client- side setup process. 2013-04-06 08:13:51 +01:00
James Coglan 30f9802c1c Make the hybi parser able to accept arrays of bytes for parsing. 2013-04-06 08:13:35 +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 d72fa37dbc Remove links to API specs. 2013-04-05 09:16:55 +01:00
James Coglan 6d241a2421 Remove the examples directory, those require the I/O stack. 2013-04-05 09:15:39 +01:00
James Coglan 35e032aca4 Remove Faye::WebSocket docs. 2013-04-05 09:11:05 +01:00
James Coglan 6fd2c32b60 Strip the project down to just the parser classes. 2013-04-05 09:06:44 +01:00
James Coglan 1ac1bf27a9 Test on Ruby 2.0.0 on Travis. 2013-03-14 10:45:07 +00:00
James Coglan 2c9d2763d3 Make the Connection header case-insensitive. 2013-03-14 10:44:40 +00:00
James Coglan 39f7ef7316 Stop Bundler complaining about :rubygems. 2013-03-03 13:02:36 +00:00
James Coglan 07fb406532 Bump copyright date. 2013-02-15 00:02:43 +00:00
James Coglan a6b04f7b05 Bump version to 0.4.7. 2013-02-14 22:31:48 +00:00
James Coglan 344cfa4e7c Change version name for Autobahn tests. 2013-02-14 22:07:11 +00:00
James Coglan 799103fd47 Only supress headers if the response status is 101. 2013-02-13 23:40:01 +00:00
James Coglan a75060e8b7 Symbolize :rubygems in Gemfile. 2013-02-10 23:57:58 +00:00
James Coglan 0b47e6eeab Single-quote string. (Yes, I'm a pedant.) 2013-02-10 23:48:06 +00:00
James Coglan 8f2e5c4295 If close() is called in the CONNECTING readyState, then close the TCP connection immediately without waiting for the handshake to complete. 2013-02-10 23:43:37 +00:00
James Coglan 41a1968ed6 Remove trailing whitespace. 2013-02-10 22:58:09 +00:00
James Coglan 5a9533a8ad Don't stop finalization from happening if close() is called while in the CLOSING state with no ack required. This means sudden interupts can get the socket cleaned up, say if it disconnects while waiting for a close-ack from the peer. See https://github.com/faye/faye-websocket-node/issues/19 for similar Node issue. 2013-02-10 22:45:53 +00:00
James Coglan e5d6334420 Merge pull request #14 from christiangeek/master
Support IE10
2012-12-22 08:40:09 -08:00
Gabe Bell ccf20579a8 support IE10's 'Websocket' type 2012-12-10 11:53:57 -05:00
James Coglan 807d2e6ee5 Bump em-rspec. 2012-12-03 21:25:31 +00:00
James Coglan ef6b944de8 Fix EventMachine-based specs. 2012-11-04 18:03:34 +00:00
James Coglan a145cd9e96 Use ProgressBar while running the Autobahn client tests. 2012-11-02 22:41:12 +00:00
James Coglan cf224018b4 Update changelog. 2012-07-09 09:01:33 +01:00
James Coglan e3e7a7686a Bump version to 0.4.6. 2012-07-01 18:19:15 +01:00
James Coglan 752da3db34 Remove an expensive test. 2012-05-21 19:46:38 +01:00
Sean Grove 9cb89521ec Try to be more compliant with the http/1.1 spec 2012-05-21 19:44:59 +01:00
James Coglan f6d0d97bbf Bump version to 0.4.5. 2012-04-06 18:55:31 +01:00
James Coglan 64ebb849b6 Add error code 1011. 2012-04-06 13:51:57 +01:00
James Coglan 1cb21521cd Use / as the default path if the client URI has no path. 2012-04-01 23:01:17 +01:00
James Coglan 13a9aa3630 Double-quote in gemspec. 2012-03-16 22:05:48 +00:00
James Coglan 3c69598509 Bump version to 0.4.4. 2012-03-16 21:45:03 +00:00
James Coglan 1cd15aa90f Fix installation on JRuby by building platform-specific gem. 2012-03-16 21:44:15 +00:00
James Coglan d60f5bc280 Use 'unless' rather than 'return' to skip extconf.rb on JRuby. 2012-03-14 23:21:44 +00:00
James Coglan c71cee6bf5 Merge pull request #9 from sockjs/master
POST request should be ignored
2012-03-13 04:04:50 -07:00
botanicus 1b4c62a578 Ignore POST. 2012-03-13 10:59:00 +00:00
James Coglan 13cacca164 Bump version to 0.4.3. 2012-03-12 16:09:13 +00:00
James Coglan 5bec02a0c0 Merge pull request #8 from jonleighton/jruby_extconf
skip extconf.rb on jruby
2012-03-12 09:04:31 -07:00
Jon Leighton 1f40cba2dd skip extconf.rb on jruby 2012-03-11 11:22:06 +00:00
James Coglan a2b6693921 Remove rbx from the Travis build. 2012-03-09 01:28:15 +00:00