-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-90871: fix connection backlog offset in asyncio #134392
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
ChristianHrs
commented
May 20, 2025
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: asyncio.create_unix_server has an off-by-one error concerning the backlog parameter #90871
…ed log once through the exception handler
…tests for 0 and 1 connections
…ted new tests for 0 and 1 connections" This reverts commit 17d39e9.
…or 0 and 1" This reverts commit 2c603b9.
…ions log once through the exception handler (pythongh-134331)" This reverts commit f695eca.
…g=0 and backlog=1
Misc/NEWS.d/next/Library/2025-05-20-21-45-58.gh-issue-90871.Gkvtp6.rst
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per FreeBSD docs and https://www.man7.org/linux/man-pages/man2/listen.2.html about backlog, this is correct.
Thanks @ChristianHrs for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
GH-134421 is a backport of this pull request to the 3.14 branch. |
Thanks @ChristianHrs for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, @ChristianHrs and @ambv, I could not cleanly backport this to
|
To backport to 3.13, we might consider backporting #127532 first. |
…gh-134421) (cherry picked from commit 109f759) Co-authored-by: Christian Harries <68507104+ChristianHrs@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Kumar Aditya <kumaraditya@python.org>