Skip to content

Commit

Permalink
Merge PR #106
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Jan 22, 2024
2 parents d708bdc + a4fb0a1 commit bafed12
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Network/HTTP2/H2/Receiver.hs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,11 @@ getOddStream ctx ftyp streamId Nothing
when (ftyp == FrameHeaders) $ setPeerStreamID ctx streamId
-- FLOW CONTROL: SETTINGS_MAX_CONCURRENT_STREAMS: recv: rejecting if over my limit
Just <$> openOddStreamCheck ctx streamId ftyp
| otherwise = undefined -- never reach
| otherwise =
-- We received a frame from the server on an unknown stream
-- (likely a previously created and then subsequently reset stream).
-- We just drop it.
return Nothing

----------------------------------------------------------------

Expand Down

0 comments on commit bafed12

Please sign in to comment.