summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorVlad Starostin <drtyrsa@yandex.ru>2018-05-21 11:13:45 +0300
committerAndrew Svetlov <andrew.svetlov@gmail.com>2018-05-21 11:13:45 +0300
commita84d0b361a26c05c6fadc6640591ec3feee5bfb5 (patch)
treefb5b5ad67a0122a5094af74d0b5ff43a6c768ca9 /Python/pystate.c
parent4054b172ab59054715a2aaf4979bd84ac23e3ada (diff)
downloadcpython-git-a84d0b361a26c05c6fadc6640591ec3feee5bfb5.tar.gz
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.
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions