The socket was closed even before client was runned, so Client.Core got
received already closed socket. This patch fixes the issue, however
socket may leak.
One possible fix is to create io-stream that will close socket, once
finished. In the case of abnormal exit, client threads must send
Nothing down the given io-stream. This may not work, though. (TODO:
think about masks.)
The socket was closed even before client was runned, so Client.Core got received already closed socket. This patch fixes the issue, however socket may leak.
One possible fix is to create io-stream that will close socket, once finished. In the case of abnormal exit, client threads must send
Nothing
down the given io-stream. This may not work, though. (TODO: think about masks.)