mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Inherit asyncio proactor datagram transport from asyncio.DatagramTransport (GH-31512)
(cherry picked from commit cff4d5c5d2)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
This commit is contained in:
parent
29e8c43b32
commit
f3bb8fe4e8
3 changed files with 5 additions and 1 deletions
|
|
@ -450,7 +450,8 @@ def _pipe_closed(self, fut):
|
|||
self.close()
|
||||
|
||||
|
||||
class _ProactorDatagramTransport(_ProactorBasePipeTransport):
|
||||
class _ProactorDatagramTransport(_ProactorBasePipeTransport,
|
||||
transports.DatagramTransport):
|
||||
max_size = 256 * 1024
|
||||
def __init__(self, loop, sock, protocol, address=None,
|
||||
waiter=None, extra=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue