5891358639
As of rspec-mocks v3.10.3, mock expectations need to use explicit hashes to avoid confusion with keyword args
James Coglan2022-02-06 23:36:18 +00:00
84b869effb
Switch from Travis CI to GitHub Actions
James Coglan2021-05-17 23:34:30 +01:00
cc1d6196fe
Reversing the previous commit; generateResponse() should throw on invalid heders (as should activate()), because the server should fail the connection in this event.
James Coglan2015-03-26 09:32:54 +00:00
b9da251798
If the header from the client is invalid, just ignore it and build a pipeline with no sessions.
James Coglan2015-03-14 12:56:48 +00:00
88abae45d2
Make Extensions#close safe to call if @sessions is not yet initialised, in case the socket is closed before handshaking.
James Coglan2015-02-16 09:54:08 +00:00
3a3b0c537c
Merge pull request #1 from Juanmcuello/require-strscan
James Coglan2014-12-14 12:18:23 +00:00
fb23226189
Require 'strscan' to be sure StringScanner will be present.
Juan M. Cuello2014-12-13 20:47:31 -03:00
026721dbdc
Don't delegate valid_frame_rsv to extensions; it's a weird interface and we can figure it out from the extension metadata.
0.1.0
James Coglan2014-12-12 00:54:13 +00:00
4a093550c2
Prefix extension error messages with the name of the extension.
James Coglan2014-12-08 00:55:11 +00:00
6eb5e50547
Around here, we use snake_case variables.
James Coglan2014-12-06 00:37:39 +00:00
9035ba236f
We use strings for buffers now, not arrays.
James Coglan2014-12-06 00:21:11 +00:00
d7c93c93a9
Change the Message type to not expose the internal frame structure. Per-message extensions will modify frame structure so they won't get to see the frames that came off the wire.
James Coglan2014-12-05 23:11:41 +00:00