We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99d33f6 commit 0505db5Copy full SHA for 0505db5
Network/Socket/Shutdown.hs
@@ -56,8 +56,7 @@ gracefulClose s tmout = sendRecvFIN `E.finally` close s
56
Left (E.SomeException _) -> return ()
57
Right () -> do
58
-- Waiting TCP FIN.
59
- E.bracket (mallocBytes bufSize) free $ \buf -> do
60
- {-# SCC "" #-} recvEOFloop buf
+ E.bracket (mallocBytes bufSize) free recvEOFloop
61
-- milliseconds. Taken from BSD fast clock value.
62
clock = 200
63
recvEOFloop buf = loop 0
network.cabal
@@ -132,7 +132,7 @@ library
132
ghc-options: -Wall -fwarn-tabs
133
build-depends:
134
base >=4.9 && <5,
135
- bytestring >=0.10 && <0.13,
+ bytestring >=0.10,
136
deepseq,
137
directory
138
0 commit comments