Commit Graph

  • ff2a854ead Test on recent versions of Node main James Coglan 2023-09-07 19:23:46 +01:00
  • 7ad3317a26 Switch from Travis CI to GitHub Actions James Coglan 2021-05-18 22:12:02 +01:00
  • 0ae6ad9a9d Travis update: cache npm modules, remove sudo, run on Node 15 James Coglan 2021-03-12 21:36:56 +00:00
  • 5ea0b42080 Bump version to 0.1.4 0.1.4 James Coglan 2020-06-02 13:18:05 +01:00
  • 29496f6838 Remove ReDoS vulnerability in the Sec-WebSocket-Extensions header parser James Coglan 2020-06-01 21:42:07 +01:00
  • 4a76c75efb Add Node versions 13 and 14 on Travis James Coglan 2020-05-14 16:29:08 +01:00
  • 44a677a9c0 Formatting change: {...} should have spaces inside the braces James Coglan 2019-06-11 15:54:09 +01:00
  • f6c50aba0c Let npm reformat package.json James Coglan 2019-06-10 12:25:53 +01:00
  • 2d211f3705 Change markdown formatting of docs. James Coglan 2019-05-29 15:38:13 +01:00
  • 0b620834cc Update Travis target versions. James Coglan 2019-05-24 14:05:57 +01:00
  • 729a465307 Switch license to Apache 2.0. James Coglan 2019-05-24 13:59:25 +01:00
  • 2af2c18251 Bump version to 0.1.3. 0.1.3 James Coglan 2017-11-11 01:24:29 +00:00
  • 50bcedda78 Test on Node v9. James Coglan 2017-11-11 01:05:57 +00:00
  • e3aa5246d6 Avoid errors caused by extension names or parameters having names that clash with things in Object.prototype. James Coglan 2017-11-11 00:45:16 +00:00
  • 1e58c148cb Header parser should accept uppercase letters. James Coglan 2017-11-11 00:44:44 +00:00
  • 5f040a15af Bump version to 0.1.2. 0.1.2 James Coglan 2017-09-10 17:48:15 +01:00
  • 654d9b0acc Move the license into its own file. James Coglan 2017-09-10 17:44:46 +01:00
  • c37d0611c7 Use package.json instead of .npmignore to set files in the package. James Coglan 2017-09-10 17:44:00 +01:00
  • d8d38e54e6 Catch synchronous errors thrown by extensions. James Coglan 2017-09-08 21:18:07 +01:00
  • fb84d36546 Fix a couple of race conditions in Pipeline. James Coglan 2017-09-08 20:59:13 +01:00
  • 36cc2c5c73 Correct a spelling error in the spec. James Coglan 2017-09-02 12:18:05 +01:00
  • b315aa08d6 Drop testing for io.js releases, which barely anybody is still using. James Coglan 2017-08-01 23:48:09 +01:00
  • b23eb5b890 Drop support for Node 0.6, add Node 7 and 8. James Coglan 2017-08-01 00:53:15 +01:00
  • 7319766a5e Remove non-breaking spaces from README. James Coglan 2016-10-08 03:09:55 +01:00
  • 9418affa01 Test on Node 6.0. James Coglan 2016-04-30 13:08:34 +01:00
  • b27d4cebf8 Create CODE_OF_CONDUCT.md. James Coglan 2015-11-08 12:16:15 +00:00
  • 2792339b4d Add a missing semicolon. James Coglan 2015-11-06 22:10:26 +00:00
  • 5e5f1f454f Test on Node 5. James Coglan 2015-11-05 21:22:19 +00:00
  • 2365c0aef2 Use Travis containers. James Coglan 2015-10-17 12:54:29 +01:00
  • 6669e323c3 Test on major versions of iojs and node 4. James Coglan 2015-10-17 12:50:54 +01:00
  • c8f31cc1c7 Reversing the previous commit; generateResponse() should throw on invalid heders (as should activate()), because the server should fail the connection in this event. James Coglan 2015-03-26 08:30:23 +00:00
  • 62ac506b80 If the header from the client is invalid, just ignore it and build a pipeline with no sessions. James Coglan 2015-03-14 12:56:41 +00:00
  • 89104ddd48 Bump version to 0.1.1. 0.1.1 James Coglan 2015-02-19 09:35:51 +00:00
  • 2a39f8eaac Test on Node 0.12 and io.js. James Coglan 2015-02-19 09:25:34 +00:00
  • eb6718f6c8 Fix some alignment from where I renamed a variable. James Coglan 2015-02-16 19:50:40 +00:00
  • a04471aecc If Extensions.close() is called before the handshake is done, don't throw an error, just callback immediately. James Coglan 2015-02-16 08:53:42 +00:00
  • 6a9e862c07 Correct typos pointed out by @glasser in https://github.com/faye/websocket-extensions-node/commit/1b77290e8279f654089eac963942309fb19b9312#commitcomment-9753067 James Coglan 2015-02-16 08:10:12 +00:00
  • 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. James Coglan 2015-02-13 09:40:02 +00:00
  • 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 James Coglan 2014-12-12 00:54:39 +00:00
  • 007cc0ac22 Prefix extension error messages with the name of the extension. James Coglan 2014-12-08 00:54:03 +00:00
  • 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. James Coglan 2014-12-06 22:09:17 +00:00
  • 97e453781e Document the framework's requirements on message ordering. James Coglan 2014-12-02 23:38:14 +00:00
  • a28cdfdb1a Make sure every session processes messages in both directions in the same order the messages arrive at the driver. James Coglan 2014-12-01 22:03:49 +00:00
  • 2b45d787e7 Some fixes discovered while porting to Ruby. James Coglan 2014-12-01 21:02:08 +00:00
  • 94f2cd0806 Add the Travis badge. James Coglan 2014-11-29 00:57:57 +00:00
  • 7dfe2520a9 I forgot to add the 'type' field to the extensions in the tests. James Coglan 2014-11-29 00:54:01 +00:00
  • c16b00cb1f Fix the Extension definition table. James Coglan 2014-11-29 00:50:49 +00:00
  • 82078c49a2 Hope GitHub likes these tables. James Coglan 2014-11-29 00:47:36 +00:00
  • 80a7c2211a Add a close() method to sessions. James Coglan 2014-11-29 00:43:41 +00:00
  • c1adebdb04 Document the API protocols in the README. James Coglan 2014-11-29 00:36:09 +00:00
  • 9d1a70d845 Wrap an abstraction around the data returned by the parser to facilitate access by name and in order. James Coglan 2014-11-28 23:11:23 +00:00
  • 6e325ca400 Test that server sessions are created with all the given offers. James Coglan 2014-11-28 00:18:31 +00:00
  • 71bb6b3274 Flesh out the specs for client and server negotation, and fix the resulting bugs. James Coglan 2014-11-28 00:14:05 +00:00
  • e2c7cc4d00 Sessions should use Node-style callbacks rather than emitting error events. James Coglan 2014-11-27 09:31:27 +00:00
  • afaeaa7087 Delegate the decision about which RSV bits are allowed to sessions on a per-frame basis. James Coglan 2014-11-26 09:58:46 +00:00
  • 123ae175a1 Begin writing tests for the Extensions class. James Coglan 2014-11-25 23:13:19 +00:00
  • 9332e0eaa3 Add tests for the Parser module. James Coglan 2014-11-25 22:09:30 +00:00
  • 86dd78c2e3 Extract the Extensions class from websocket-driver. James Coglan 2014-11-25 21:15:00 +00:00