mirror of
https://github.com/nim-lang/Nim.git
synced 2026-03-03 23:28:31 +00:00
Fixed breaking changes introduced by the last commit.
This commit is contained in:
@@ -241,7 +241,7 @@ proc asyncSockHandleWrite(h: PObject) =
|
||||
|
||||
if PAsyncSocket(h).handleWrite != nil:
|
||||
PAsyncSocket(h).handleWrite(PAsyncSocket(h))
|
||||
except EOS, ESSL:
|
||||
except EOS:
|
||||
# Most likely the socket closed before the full buffer could be sent to it.
|
||||
sock.close() # TODO: Provide a handleError for users?
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user