26 Commits

Author SHA1 Message Date
James Coglan 89104ddd48 Bump version to 0.1.1. 0.1.1 2015-02-19 09:35:51 +00:00
James Coglan 2a39f8eaac Test on Node 0.12 and io.js. 2015-02-19 09:25:34 +00:00
James Coglan eb6718f6c8 Fix some alignment from where I renamed a variable. 2015-02-16 19:50:40 +00:00
James Coglan a04471aecc If Extensions.close() is called before the handshake is done, don't throw an error, just callback immediately. 2015-02-16 08:53:42 +00:00
James Coglan 6a9e862c07 Correct typos pointed out by @glasser in https://github.com/faye/websocket-extensions-node/commit/1b77290e8279f654089eac963942309fb19b9312#commitcomment-9753067 2015-02-16 08:10:12 +00:00
James Coglan 1b77290e82 Put a structure in place to preserve ordering of messages and errors, and defer closing of sessions while messages are still in the pipeline.
This is designed to address these issues:

* https://github.com/faye/permessage-deflate-node/issues/1
* https://github.com/faye/permessage-deflate-node/pull/3
* https://github.com/faye/websocket-driver-node/issues/11
2015-02-15 13:14:22 +00:00
James Coglan ea98426dc1 Don't delegate validFrameRsv() to extensions; it's a weird interface and we can figure it out from the extension metadata. 0.1.0 2014-12-12 00:54:39 +00:00
James Coglan 007cc0ac22 Prefix extension error messages with the name of the extension. 2014-12-08 00:54:03 +00:00
James Coglan bd986843a9 Update the interface we expect for Message objects. They no longer expose the frame structure because extensions should not be required to leave frame boundaries intact. 2014-12-06 22:09:17 +00:00
James Coglan 97e453781e Document the framework's requirements on message ordering. 2014-12-02 23:38:14 +00:00
James Coglan a28cdfdb1a Make sure every session processes messages in both directions in the same order the messages arrive at the driver. 2014-12-01 22:03:49 +00:00
James Coglan 2b45d787e7 Some fixes discovered while porting to Ruby. 2014-12-01 21:02:08 +00:00
James Coglan 94f2cd0806 Add the Travis badge. 2014-11-29 00:57:57 +00:00
James Coglan 7dfe2520a9 I forgot to add the 'type' field to the extensions in the tests. 2014-11-29 00:54:01 +00:00
James Coglan c16b00cb1f Fix the Extension definition table. 2014-11-29 00:50:49 +00:00
James Coglan 82078c49a2 Hope GitHub likes these tables. 2014-11-29 00:47:36 +00:00
James Coglan 80a7c2211a Add a close() method to sessions. 2014-11-29 00:43:41 +00:00
James Coglan c1adebdb04 Document the API protocols in the README. 2014-11-29 00:36:09 +00:00
James Coglan 9d1a70d845 Wrap an abstraction around the data returned by the parser to facilitate access by name and in order. 2014-11-28 23:11:23 +00:00
James Coglan 6e325ca400 Test that server sessions are created with all the given offers. 2014-11-28 00:18:31 +00:00
James Coglan 71bb6b3274 Flesh out the specs for client and server negotation, and fix the resulting bugs. 2014-11-28 00:14:05 +00:00
James Coglan e2c7cc4d00 Sessions should use Node-style callbacks rather than emitting error events. 2014-11-27 09:31:27 +00:00
James Coglan afaeaa7087 Delegate the decision about which RSV bits are allowed to sessions on a per-frame basis. 2014-11-26 09:58:46 +00:00
James Coglan 123ae175a1 Begin writing tests for the Extensions class. 2014-11-25 23:13:19 +00:00
James Coglan 9332e0eaa3 Add tests for the Parser module. 2014-11-25 22:09:30 +00:00
James Coglan 86dd78c2e3 Extract the Extensions class from websocket-driver. 2014-11-25 21:15:00 +00:00