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:
|
try:
|
||||||
n = sock.send(data)
|
n = sock.send(data)
|
||||||
except (BlockingIOError, InterruptedError):
|
except (BlockingIOError, InterruptedError):
|
||||||
n = 0
|
# Try next time.
|
||||||
|
return
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
fut.set_exception(exc)
|
fut.set_exception(exc)
|
||||||
self._remove_writer(fd)
|
self._remove_writer(fd)
|
||||||
|
|
Loading…
Reference in New Issue