]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104061: Add socket.SO_BINDTOIFINDEX constant (GH-104062)
authorVictor Westerhuis <viccie30@users.noreply.github.com>
Tue, 20 Feb 2024 21:08:15 +0000 (22:08 +0100)
committerGitHub <noreply@github.com>
Tue, 20 Feb 2024 21:08:15 +0000 (23:08 +0200)
commite1fdc3c323bd605f92622b7ee18805885ff0bb4e
treef1aedff0ec71d961ea162ea15523a24932dde97c
parent142502ea8d26b17732009b6e981e630c342054f7
gh-104061: Add socket.SO_BINDTOIFINDEX constant (GH-104062)

Add socket.SO_BINDTOIFINDEX constant

This socket option avoids a race condition between SO_BINDTODEVICE and network interface renaming.
Doc/library/socket.rst
Misc/NEWS.d/next/Library/2023-05-01-22-28-57.gh-issue-104061.vxfBXf.rst [new file with mode: 0644]
Modules/socketmodule.c