on master help sign in
Fixed a typo for windows version, changed h to hdl
commitf962d31e443e4810032e41c54436d2f2600b2536 authorLuka Hadžiegrić <reygoch@gmail.com> dateSat 9 Jan 2016, 02:16 (11 years ago) parent18c2d51
1 file changed+1−1
warp/Network/Wai/Handler/Warp/HTTP2/Sender.hs+1−1
warp/Network/Wai/Handler/Warp/HTTP2/Sender.hs+1−1
@@ -296,7 +296,7 @@ fillFileBodyGetNext Connection{connWriteBuffer,connBufferSize}
296296 (start, bytes) <- fileStartEnd path mpart
297297 -- fixme: how to close Handle? GC does it at this moment.
298298 hdl <- IO.openBinaryFile path IO.ReadMode
299− IO.hSeek h IO.AbsoluteSeek start
299+ IO.hSeek hdl IO.AbsoluteSeek start
300300 len <- IO.hGetBufSome hdl datBuf (mini room bytes)
301301 let bytes' = bytes - fromIntegral len
302302 -- fixme: connWriteBuffer connBufferSize