[3.6] bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) by asvetlov · Pull Request #7025 · python/cpython
Conversation
* bpo-33263 Fix FD leak in _SelectorSocketTransport. (pythonGH-6450) Under particular circumstances _SelectorSocketTransport can try to add a reader even the transport is already being closed. This can lead to FD leak and invalid stated of the following connections. Fixed the SelectorSocketTransport to add the reader only if the trasport is still active.. (cherry picked from commit a84d0b3)
@asvetlov: Please replace # with GH- in the commit message next time. Thanks!
asvetlov
deleted the
backport-a84d0b3-3.6
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters