]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-98030: socket: add missing TCP socket options (#98031)
authorMatthieu Baerts <matttbe@gmail.com>
Thu, 8 Dec 2022 04:59:37 +0000 (05:59 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Dec 2022 04:59:37 +0000 (20:59 -0800)
commitcce836296016463032495c6ca739ab469ed13d3c
tree9edab5b2373701343e61b8ffb335d0b5560bb8f2
parent90d5c9b195a8133688c2d7b6ad9e0ca8b76df1df
gh-98030: socket: add missing TCP socket options (#98031)

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_FASTOPEN option has been moved lower in the list
just to keep the same order as in tcp.h to ease future synchronisations.

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Doc/library/socket.rst
Misc/NEWS.d/next/Library/2022-10-07-18-16-00.gh-issue-98030.2oQCZy.rst [new file with mode: 0644]
Modules/socketmodule.c