Skip to content

Commit

Permalink
Merge #123
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Jun 19, 2024
2 parents 8696560 + 80921ad commit 494bc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Network/HTTP2/H2/Context.hs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ newContext rinfo Config{..} cacheSiz connRxWS settings =
-- Peer: The spec defines max concurrency is infinite unless
-- SETTINGS_MAX_CONCURRENT_STREAMS is exchanged.
-- But it is vulnerable, so we set the limitations.
<*> newIORef settings
<*> newIORef baseSettings{maxConcurrentStreams = Just defaultMaxStreams}
<*> newTVarIO emptyOddStreamTable
<*> newTVarIO (emptyEvenStreamTable cacheSiz)
<*> newIORef Nothing
Expand Down

0 comments on commit 494bc49

Please sign in to comment.