@@ -94,7 +94,7 @@ frameSender ctx@Context{outputQ,controlQ,connectionWindow,encodeDynamicTable}
94 setLimitForEncoding siz dyntbl
94 setLimitForEncoding siz dyntbl
97− output out@(ONext strm curr binfo) = do
97+ output out@(ONext strm binfo curr) = do
98 whenReadyOrEnqueueAgain strm binfo out $ \sws -> do
98 whenReadyOrEnqueueAgain strm binfo out $ \sws -> do
99 cws <- atomically $ readTVar connectionWindow
99 cws <- atomically $ readTVar connectionWindow
100 let !lim = min cws sws
100 let !lim = min cws sws
@@ -103,7 +103,7 @@ frameSender ctx@Context{outputQ,controlQ,connectionWindow,encodeDynamicTable}
103 fillDataHeaderSend strm 0 datPayloadLen mnext
103 fillDataHeaderSend strm 0 datPayloadLen mnext
104 maybeEnqueueNext strm mnext binfo
104 maybeEnqueueNext strm mnext binfo
106− output out@(OResponse strm rsp binfo) = do
106+ output out@(OResponse strm binfo rsp) = do
107 whenReadyOrEnqueueAgain strm binfo out $ \sws -> do
107 whenReadyOrEnqueueAgain strm binfo out $ \sws -> do
108 -- Header frame and Continuation frame
108 -- Header frame and Continuation frame
109 let sid = streamNumber strm
109 let sid = streamNumber strm
@@ -210,7 +210,7 @@ frameSender ctx@Context{outputQ,controlQ,connectionWindow,encodeDynamicTable}
210 -- Re-enqueue the stream in the output queue.
210 -- Re-enqueue the stream in the output queue.
211 maybeEnqueueNext :: Stream -> Maybe DynaNext -> BodyInfo -> IO ()
211 maybeEnqueueNext :: Stream -> Maybe DynaNext -> BodyInfo -> IO ()
212 maybeEnqueueNext strm (Just next) binfo = do
212 maybeEnqueueNext strm (Just next) binfo = do
213− let !out = ONext strm next binfo
213+ let !out = ONext strm binfo next
214 enqueueOutput outputQ out
214 enqueueOutput outputQ out
215 maybeEnqueueNext _ _ _ = return ()
215 maybeEnqueueNext _ _ _ = return ()