-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-135444: fix DatagramTransport buffer_size accounting #135445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
04c6560
to
8a8f749
Compare
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
8a8f749
to
860cec6
Compare
Accounting in asyncio.DatagramTransport is broken, so this won't pass. python/cpython#135444 python/cpython#135445
Accounting in asyncio.DatagramTransport is broken, so this won't pass. python/cpython#135444 python/cpython#135445
Misc/NEWS.d/next/Library/2025-06-16-12-37-02.gh-issue-135444.An2eeA.rst
Outdated
Show resolved
Hide resolved
Commit 73e8637 added 8 to the buffer_size when send could not be called right away. However, it did not complete this accounting by removing 8 from the buffer size when sending did finally complete.
860cec6
to
f661a57
Compare
Thanks @jsbronder for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…r datagram header size when data cannot be sent (pythonGH-135445) (cherry picked from commit e3ea861) Co-authored-by: Justin Bronder <jsbronder@cold-front.org> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
…r datagram header size when data cannot be sent (pythonGH-135445) (cherry picked from commit e3ea861) Co-authored-by: Justin Bronder <jsbronder@cold-front.org> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
GH-137245 is a backport of this pull request to the 3.14 branch. |
GH-137246 is a backport of this pull request to the 3.13 branch. |
Commit 73e8637 added 8 to the buffer_size when send could not be called right away. However, it did not complete this accounting by removing 8 from the buffer size when sending did finally complete.