Skip to content

Commit

Permalink
Fixes molnarg#107: Allow frames after RST_STREAM.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishai12345 authored Apr 16, 2020
1 parent c0fde18 commit a46cb01
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 @@ -585,6 +585,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 || ORIGIN))) {
Expand Down

0 comments on commit a46cb01

Please sign in to comment.