-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
_sendfile_zerocopy leaks the file selector #142403
Copy link
Copy link
Open
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
_sendfile_zerocopy creates a fresh selector per call, registers the socket, and never uses it outside that scope.
We ought to close it.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs