Skip to content

Commit

Permalink
Merge pull request #3 from adamhenson/allow-frames-after-closed-with-rst
Browse files Browse the repository at this point in the history
Fixes molnarg#107: Allow frames after RST_STREAM.
  • Loading branch information
patrickd- authored Jan 17, 2017
2 parents 0e173de + 29ccd52 commit 82d99dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/protocol/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ Stream.prototype._transition = function transition(sending, frame) {
// can be used to close any of those streams.
case 'CLOSED':
if (PRIORITY || (sending && RST_STREAM) ||
(sending && this._closedWithRst) ||
(receiving && WINDOW_UPDATE) ||
(receiving && this._closedByUs &&
(this._closedWithRst || RST_STREAM || ALTSVC))) {
Expand Down

0 comments on commit 82d99dd

Please sign in to comment.