@@ -24,14 +24,14 @@ import Network.Wai.Handler.Warp.Types
25----------------------------------------------------------------
25----------------------------------------------------------------
27−http2 :: Connection -> Transport -> InternalInfo -> SockAddr -> S.Settings -> (BufSize -> IO ByteString) -> Application -> IO ()
27+http2 :: Connection -> Transport -> InternalInfo -> SockAddr -> S.Settings -> (BufSize -> IO ByteString) -> (ByteString -> IO ()) -> Application -> IO ()
28−http2 conn transport ii addr settings readN app =
28+http2 conn transport ii addr settings readN send app =
29 H2.run conf http2server
29 H2.run conf http2server
31 conf = H2.Config {
31 conf = H2.Config {
32 confWriteBuffer = connWriteBuffer conn
32 confWriteBuffer = connWriteBuffer conn
33 , confBufferSize = connBufferSize conn
33 , confBufferSize = connBufferSize conn
34− , confSendAll = connSendAll conn
34+ , confSendAll = send
35 , confReadN = readN
35 , confReadN = readN
36 , confPositionReadMaker = pReadMaker ii
36 , confPositionReadMaker = pReadMaker ii