mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Inherit asyncio proactor datagram transport from asyncio.DatagramTransport (#31512)
This commit is contained in:
parent
66b3cd7063
commit
cff4d5c5d2
3 changed files with 5 additions and 1 deletions
|
@ -452,7 +452,8 @@ class _ProactorWritePipeTransport(_ProactorBaseWritePipeTransport):
|
|||
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