bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450)
* bpo-33263 Fix FD leak in _SelectorSocketTransport. (GH-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.
V
Vlad Starostin committed
a84d0b361a26c05c6fadc6640591ec3feee5bfb5
Parent: 4054b17
Committed by Andrew Svetlov <andrew.svetlov@gmail.com>
on 5/21/2018, 8:13:45 AM