e3aa5246d6
Avoid errors caused by extension names or parameters having names that clash with things in Object.prototype.
James Coglan2017-11-11 00:45:16 +00:00
1e58c148cb
Header parser should accept uppercase letters.
James Coglan2017-11-11 00:44:44 +00:00
6669e323c3
Test on major versions of iojs and node 4.
James Coglan2015-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 Coglan2015-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 Coglan2015-03-14 12:56:41 +00:00
eb6718f6c8
Fix some alignment from where I renamed a variable.
James Coglan2015-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 Coglan2015-02-16 08:53:42 +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 Coglan2015-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 Coglan2014-12-12 00:54:39 +00:00
007cc0ac22
Prefix extension error messages with the name of the extension.
James Coglan2014-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 Coglan2014-12-06 22:09:17 +00:00
97e453781e
Document the framework's requirements on message ordering.
James Coglan2014-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 Coglan2014-12-01 22:03:49 +00:00
2b45d787e7
Some fixes discovered while porting to Ruby.
James Coglan2014-12-01 21:02:08 +00:00
c1adebdb04
Document the API protocols in the README.
James Coglan2014-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 Coglan2014-11-28 23:11:23 +00:00
6e325ca400
Test that server sessions are created with all the given offers.
James Coglan2014-11-28 00:18:31 +00:00
71bb6b3274
Flesh out the specs for client and server negotation, and fix the resulting bugs.
James Coglan2014-11-28 00:14:05 +00:00
e2c7cc4d00
Sessions should use Node-style callbacks rather than emitting error events.
James Coglan2014-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 Coglan2014-11-26 09:58:46 +00:00
123ae175a1
Begin writing tests for the Extensions class.
James Coglan2014-11-25 23:13:19 +00:00