Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bug fix for Linux.

  • Loading branch information...
commit 0d70e16f1d54e1cccc80cb192951226fef2f20d0 1 parent ee70e16
@kazu-yamamoto authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Network/Sendfile/Linux.hsc
View
2  Network/Sendfile/Linux.hsc
@@ -161,7 +161,7 @@ sendfileFdWithHeader :: Socket -> Fd -> FileRange -> IO () -> [ByteString] -> IO
sendfileFdWithHeader sock fd range hook hdr = do
-- Copying is much faster than syscall.
sendAllMsgMore sock $ B.concat hdr
- sendfile sock fd range hook
+ sendfileFd sock fd range hook
sendAllMsgMore :: Socket -> ByteString -> IO ()
sendAllMsgMore sock bs = do
Please sign in to comment.
Something went wrong with that request. Please try again.