We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4083a94 commit 29bba19Copy full SHA for 29bba19
uvloop/handles/udp.pyx
@@ -244,14 +244,20 @@ cdef class UDPTransport(UVBaseTransport):
244
ctx.close()
245
246
exc = convert_error(err)
247
- self._fatal_error(exc, True)
+ if isinstance(exc, OSError):
248
+ self._protocol.error_received(exc)
249
+ else:
250
+ self._fatal_error(exc, True)
251
else:
252
self._maybe_pause_protocol()
253
254
255
if err < 0:
256
257
258
259
260
261
262
self._on_sent(None, self.context.copy())
263
0 commit comments