Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-98030: socket: add missing TCP socket options#98031
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bedevere-bot commentedOct 7, 2022
Most changes to Pythonrequire a NEWS entry. Please add it using theblurb_it web app or theblurb command-line tool. |
19f8cc6 to90f954bCompareUh oh!
There was an error while loading.Please reload this page.
A few TCP socket options have been added to the Linux kernel these lastfew years.This commit adds all the ones available in Linux 6.0:https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91While at it, the TCP_FASTOPEN option has been moved lower in the listjust to keep the same order as in tcp.h to ease future synchronisations.Please note that I initially wanted to get socket.TCP_FASTOPEN_CONNECT.I was going to add only this one but while at it, here are all themissing ones.Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
netlifybot commentedDec 7, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
✅ Deploy Preview forpython-cpython-preview canceled.
|
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Hi@gpshead, Thank you for the review! I'm sorry for the delay, I missed the notification when I was on holiday. I just listed all new constants in the doc as requested. Feel free to tell me if it is not what you had in mind! |
bedevere-bot commentedDec 8, 2022
|
Uh oh!
There was an error while loading.Please reload this page.
A few TCP socket options have been added to the Linux kernel these last few years.
This commit adds all the ones available in Linux 6.0:
https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91
While at it, the
TCP_FASTOPENoption has been moved lower in the list just to keep the same order as intcp.hto ease future synchronisations.Please note that I initially wanted to get
socket.TCP_FASTOPEN_CONNECT. I was going to add only this one but while at it, here are all the missing ones.