mirror of https://github.com/MagicStack/uvloop.git
loop._sock_sendall: In case of EAGAIN just return--try again later
This commit is contained in:
parent
af28b8b83a
commit
85b7f3d753
|
@ -633,7 +633,8 @@ cdef class Loop:
|
|||
try:
|
||||
n = sock.send(data)
|
||||
except (BlockingIOError, InterruptedError):
|
||||
n = 0
|
||||
# Try next time.
|
||||
return
|
||||
except Exception as exc:
|
||||
fut.set_exception(exc)
|
||||
self._remove_writer(fd)
|
||||
|
|
Loading…
Reference in New Issue