mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-113812: Allow DatagramTransport.sendto to send empty data (#115199)
Also include the UDP packet header sizes (8 bytes per packet) in the buffer size reported to the flow control subsystem.
This commit is contained in:
parent
8db8d7118e
commit
73e8637002
8 changed files with 50 additions and 16 deletions
|
@ -181,6 +181,8 @@ class DatagramTransport(BaseTransport):
|
|||
to be sent out asynchronously.
|
||||
addr is target socket address.
|
||||
If addr is None use target address pointed on transport creation.
|
||||
If data is an empty bytes object a zero-length datagram will be
|
||||
sent.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue