Skip to content

Commit

Permalink
Latest http2 fixes the unclosed client problem
Browse files Browse the repository at this point in the history
See kazu-yamamoto/http2#151 for the `http2` bug
report.

Closes #257.
  • Loading branch information
edsko committed Nov 16, 2024
1 parent 80302ba commit 2df5536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ package grapesy
benchmarks: True
flags: +build-demo +build-stress-test

-- constraints: http2==5.3.4
-- constraints: http2==5.3.5

source-repository-package
type: git
location: https://github.com/kazu-yamamoto/http2
Expand Down
4 changes: 2 additions & 2 deletions grapesy/test-grapesy/Test/Sanity/Reclamation.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ serverException1 = testClientServer $ ClientServerTest {
config = def
, server = [Server.someRpcHandler $ Server.mkRpcHandler brokenHandler]
, client = \params testServer delimitTestScope -> delimitTestScope $
replicateM_ 20_000 $
replicateM_ 1000 $ do
Client.withConnection params testServer $ \conn ->
Client.withRPC conn def (Proxy @Ping) $ \call -> do
resp <- try $ Client.recvFinalOutput call
Expand All @@ -47,7 +47,7 @@ serverException2 = testClientServer $ ClientServerTest {
config = def
, server = [Server.someRpcHandler $ Server.mkRpcHandler brokenHandler]
, client = \params testServer delimitTestScope -> delimitTestScope $
replicateM_ 20_000 $
replicateM_ 1000 $
Client.withConnection params testServer $ \conn ->
Client.withRPC conn def (Proxy @Ping) $ \call -> do

Expand Down

0 comments on commit 2df5536

Please sign in to comment.