James Coglan
93c7cf16b3
Update the release date for 0.8.0.
0.4.0
2014-11-08 19:48:09 +00:00
James Coglan
1a9f2af571
Use the Headers class to build the default headers for handshakes rather than using loads of ugly string operations.
2014-11-08 17:44:34 +00:00
James Coglan
ec6803e19c
Remove the start_tls protocol and replace it by the proxy emitting a 'connect' event.
2014-11-08 16:45:06 +00:00
James Coglan
f7e32e76ee
Test on rbx 2.2, since 2.3 seems to be producing a lot of build errors e.g. https://travis-ci.org/faye/websocket-driver-ruby/jobs/40244931 .
2014-11-06 23:57:16 +00:00
James Coglan
5078cceb60
Document the start_tls method that the proxy driver calls for wss: endpoints.
2014-11-06 23:44:09 +00:00
James Coglan
0a200bbdef
Refactor proxy support into a separate class that represents the proxy connection as a real object.
2014-11-06 23:37:13 +00:00
James Coglan
286109496e
Bump version to 0.4.0.
2014-10-27 23:21:01 +00:00
James Coglan
f997ddf429
Remove the 'rubysl' requirement for running rbx tests.
2014-10-27 21:50:41 +00:00
James Coglan
8392f77a58
Add support for connecting via HTTP proxies.
2014-10-27 21:49:40 +00:00
James Coglan
648e0c4cd1
Fix C compilation warnings about interleaved declarations and code.
2014-10-27 21:15:48 +00:00
James Coglan
4ffaca8319
Bump version to 0.3.5.
0.3.5
2014-10-04 08:43:45 +01:00
James Coglan
58c19e7659
If driver.close is called before driver.start, the driver should close.
2014-10-03 00:36:50 +01:00
James Coglan
72972be911
Test on Ruby 2.1.3.
2014-09-22 22:41:29 +01:00
James Coglan
ba360ec286
Merge pull request #22 from Asmod4n/patch-1
...
fail_request didn't accept a required argument
2014-09-22 22:41:11 +01:00
Asmod4n
c04bfc4c19
fail_request didn't accept a required argument
2014-09-21 00:57:24 +02:00
James Coglan
5393f89526
Use the SVG build status icon from Travis.
2014-09-07 21:07:02 +01:00
James Coglan
129a238613
Fix ping/pong issue where Server#ping fails to pass the callback on to the Hybi driver.
2014-07-19 16:48:32 +01:00
James Coglan
cec958a5bc
Bump version to 0.3.4.
0.3.4
2014-07-06 10:28:15 +01:00
James Coglan
a403ca4c8d
Simplify the subprotocol selection code.
2014-07-04 20:50:08 +01:00
James Coglan
4b4d69e946
Delegate the protocol and version methods correctly in the TCP driver.
2014-07-04 09:42:26 +01:00
James Coglan
9fae0aef42
Test on Ruby 2.1.2.
2014-06-17 00:38:24 +01:00
James Coglan
907ff98bb9
Silence all the RSpec deprecation notices.
2014-06-16 21:09:23 +01:00
James Coglan
d00cbadedb
Stop the Hybi parser hanging onto data it doesn't need after emitFrame().
2014-06-16 20:45:48 +01:00
James Coglan
7c755523f1
Include RFC 7230 grammar notes.
2014-06-07 22:23:39 +01:00
James Coglan
72aae9b76c
Test against 'rbx-2', so says @brixen.
2014-05-17 01:07:56 +01:00
James Coglan
8c9a0c1797
Specify which version of rbx to test against.
2014-05-17 00:52:10 +01:00
James Coglan
1b3f32bbc7
Trailing blank lines are bad.
2014-05-17 00:34:48 +01:00
James Coglan
03ca89f4a0
Remove a duplicated request-method check from WebSocket.websocket?.
2014-05-09 00:31:31 +01:00
James Coglan
f55f2b221c
Header names must not contain backslashes. Include grammer from RFC2616 to clarify this.
2014-05-09 00:30:28 +01:00
James Coglan
854d185d5d
Bump version to 0.3.3.
0.3.3
2014-04-24 23:37:11 +01:00
James Coglan
23c8e8eb91
The file that loads the C code is not executable and does not need a shebang.
2014-04-17 02:29:56 +01:00
James Coglan
2f8f281615
Correct the draft-76 status line reason phrase.
2014-04-17 02:22:19 +01:00
James Coglan
ddd90b5438
Tweak the regexes for parsing HTTP.
2014-04-17 02:19:14 +01:00
James Coglan
c57cc359b2
Merge pull request #17 from stevenwilliamson/native_ext_loading_fix
...
Native ext loading fix
2014-04-16 23:52:47 +01:00
Steven Williamson
d643bd284d
Fix java native extension loading.
2014-04-15 17:03:33 +01:00
Steven Williamson
42503cd345
Update rake file to build extension in new dir
...
- Changed name of ext directory to match gemname, updated rake file
accordingly.
It would probably make sense just to name the actual extension after
the gem name as well, Rake would then just do "the right thing"
Confirmed tests pass on OSX and Linux for C native ext not tested
Java.
2014-04-15 09:25:13 +01:00
Steven Williamson
08189c2a30
Minor fixes to allow native gems to load.
...
- websocket_mask.rb is in lib which in turn then loads websocket_mask.so
which should reside in the extensions directory external to the gem
directory at least as of rubygems 2.2.2.
- Changed extensions directory to match gemname as suggested in rubygems
guide
Simplifies loading the native extension but only tested on ruby 2.1.1
and only in my environment.
2014-04-14 17:18:54 +01:00
James Coglan
d2be696be0
Merge pull request #15 from ryansouza/ruby21
...
Test MRI 2.1 in travis
2014-03-29 03:48:53 +00:00
Ryan Souza
ec32c8b851
Run MRI 2.1 in Travis
2014-03-28 14:49:55 -07:00
James Coglan
5cc3c39c9b
Workaround to make Ruby 1.8 work on Travis.
2013-12-29 12:36:55 +00:00
James Coglan
2b389ed50c
Bump version to 0.3.2.
0.3.2
2013-12-29 12:33:30 +00:00
James Coglan
45fbc9e2e9
Document the new lower frame size limit.
2013-12-28 16:57:15 +00:00
James Coglan
c24457b322
Revert "Run jruby-20mode on Travis."
...
This reverts commit 28dd52dbb3 .
2013-12-27 18:24:43 +00:00
James Coglan
13780f7a61
Reduce MAX_LENGTH to 64 MB.
2013-12-27 18:19:09 +00:00
James Coglan
28dd52dbb3
Run jruby-20mode on Travis.
2013-12-27 18:14:02 +00:00
James Coglan
18170c0c61
Stop parsing Hybi once we go into a failure state.
2013-12-27 18:13:31 +00:00
James Coglan
74c4cc1190
Extend max-length checking to draft-{75,76}.
2013-12-20 10:27:48 +00:00
James Coglan
fafd949641
Extend max-length checking to short (<= 125 bytes) frames and to sequences of continuation frames.
2013-12-20 10:23:53 +00:00
James Coglan
f098f1d0d1
Bump version to 0.3.1.
0.3.1
2013-12-03 00:52:48 +00:00
James Coglan
a1719cc86a
Sort Travis build out for Rubinius.
2013-12-02 22:13:09 +00:00