Fixes for new comment handling.
This commit is contained in:
parent
56f11e2c95
commit
4db6535025
3 changed files with 3 additions and 1 deletions
|
|
@ -247,6 +247,7 @@ proc asyncSockHandleWrite(h: RootRef) =
|
|||
# Apparently the socket cannot be written to. Even though select
|
||||
# just told us that it can be... This used to be an assert. Just
|
||||
# do nothing instead.
|
||||
discard
|
||||
elif bytesSent != sock.sendBuffer.len:
|
||||
sock.sendBuffer = sock.sendBuffer[bytesSent .. -1]
|
||||
elif bytesSent == sock.sendBuffer.len:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue