Fixed breaking changes introduced by the last commit.
This commit is contained in:
parent
09b6b94509
commit
53752ccaab
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue