@@ -120,7 +120,7 @@ frameSender ctx@Context{outputQ,connectionWindow}
120 switch (OTrailers strm trailers) = do
120 switch (OTrailers strm trailers) = do
121 -- Trailers always indicate the end of a stream; send them in
121 -- Trailers always indicate the end of a stream; send them in
122 -- consecutive header+continuation frames and end the stream.
122 -- consecutive header+continuation frames and end the stream.
123− builder <- hpackEncodeTrailers ctx trailers
123+ builder <- hpackEncodeCIHeaders ctx trailers
124 off <- headerContinue (streamNumber strm) builder True
124 off <- headerContinue (streamNumber strm) builder True
125 closed ctx strm Finished
125 closed ctx strm Finished
126 flushN $ off + frameHeaderLength
126 flushN $ off + frameHeaderLength