Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Nov 12, 2024
1 parent 7b2d6b5 commit 39846fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Network/HTTP2/Client/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ run cconf@ClientConfig{..} conf client = do
x <- processResponse rsp
adjustRxWindow ctx strm
return x
runClient ctx = wrapClinet ctx $ client (clientCore ctx) $ aux ctx
runClient ctx = wrapClient ctx $ client (clientCore ctx) $ aux ctx

wrapClinet :: Context -> IO a -> IO a
wrapClinet ctx client = do
wrapClient :: Context -> IO a -> IO a
wrapClient ctx client = do
x <- client
waitCounter0 $ threadManager ctx
let frame = goawayFrame 0 NoError "graceful closing"
Expand All @@ -121,7 +121,7 @@ runIO cconf@ClientConfig{..} conf@Config{..} action = do
create = openOddStreamWait ctx
runClient <- do
act <- action $ ClientIO confMySockAddr confPeerSockAddr putR get putB create
return $ wrapClinet ctx act
return $ wrapClient ctx act
runH2 conf ctx runClient

getResponse :: Stream -> IO Response
Expand Down

0 comments on commit 39846fd

Please sign in to comment.