File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ recvEOF :: Socket -> Int -> Ptr Word8 -> IO ()
7474recvEOF s tmout0 buf = do
7575 mevmgr <- Ev. getSystemEventManager
7676 case mevmgr of
77- Nothing -> recvEOFloop s tmout0 buf
77+ Nothing -> recvEOFtimeout s tmout0 buf
7878 Just _ -> recvEOFevent s tmout0 buf
7979#else
8080recvEOF = recvEOFloop
@@ -85,8 +85,8 @@ recvEOF = recvEOFloop
8585bufSize :: Int
8686bufSize = 1024
8787
88- recvEOFloop :: Socket -> Int -> Ptr Word8 -> IO ()
89- recvEOFloop s tmout0 buf = void $ timeout tmout0 $ recvBuf s buf bufSize
88+ recvEOFtimeout :: Socket -> Int -> Ptr Word8 -> IO ()
89+ recvEOFtimeout s tmout0 buf = void $ timeout tmout0 $ recvBuf s buf bufSize
9090
9191#if !defined(mingw32_HOST_OS)
9292data Wait = MoreData | TimeoutTripped
You can’t perform that action at this time.
0 commit comments