Skip to content

Commit 74d7f75

Browse files
committed
shorten news
1 parent cccedb8 commit 74d7f75

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
Fix :class:`asyncio.ProactorEventLoop` UDP transports and sockets so
2-
that ``ERROR_PORT_UNREACHABLE``/``WSAECONNRESET`` (reported when the
3-
same socket was previously used to send to an address that isn't
4-
listening) is surfaced as a :exc:`ConnectionResetError` instead of
5-
being silently swallowed. Datagram transports now deliver it to the
6-
protocol via :meth:`~asyncio.DatagramProtocol.error_received` and
7-
re-schedule the read loop, and :meth:`~asyncio.loop.sock_recvfrom` /
8-
:meth:`~asyncio.loop.sock_recvfrom_into` now raise it, matching the
9-
behaviour :class:`asyncio.SelectorEventLoop` already had. This
10-
corrects the fix applied in gh-91227, which papered over the issue by
11-
discarding the error.
1+
:class:`asyncio.ProactorEventLoop` no longer silently ignores
2+
:exc:`ConnectionResetError` on UDP sockets, matching
3+
:class:`asyncio.SelectorEventLoop`.

0 commit comments

Comments
 (0)