git.iko.soy/distributed-process
on master help sign in
Obsolete comment
commiteaa5663689347fa50410b539616e5eff6027655e authorEdsko de Vries <edsko@edsko.net> dateWed 2 May 2012, 17:15 (14 years ago) parenta892422
1 file changed−3
network-transport-2/src/Network/Transport/TCP.hs−3
network-transport-2/src/Network/Transport/TCP.hs−3
@@ -273,9 +273,6 @@ apiClose (ourEndPoint, theirEndPoint) connId connAlive = void . tryIO $ do
273273 return False
274274
275275-- | Send data across a connection
276−--
277−-- TODO: we should have some per-connection state so that the user cannot send
278−-- to the connection after they closed it, or close it more than once
279276apiSend :: RemoteEndPoint -> ConnectionId -> MVar Bool -> [ByteString] -> IO (Either (FailedWith SendErrorCode) ())
280277apiSend theirEndPoint connId connAlive payload =
281278 modifyMVar connAlive $ \alive -> do