Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here's the protocol-level implementation of draft11. All tests pass, new tests have been added where appropriate.
The one major change I didn't do is actually implementing the priority scheme on the connection (in other words, actually prioritizing streams). I felt that was an OK tradeoff to make, since the new prioritization scheme is still in flux, and all priorities are advisory, anyway :) Once we get prioritization more locked-in in the spec, I'll fix up the implementation of prioritization. Right now, this just means that all streams will have the same priority (or one less, for pushed streams).
I'll also be sending a PR to node-http2 to update the version of the protocol library used.