cpython/Lib/asyncio
Miss Islington (bot) b8b800090f bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) (#7022)
* 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.
(cherry picked from commit a84d0b361a)

Co-authored-by: Vlad Starostin <drtyrsa@yandex.ru>
2018-05-21 11:35:25 +03:00
..
__init__.py bpo-32314: Implement asyncio.run() (#4852) 2017-12-14 09:42:21 -05:00
base_events.py bpo-32327: Revert loop.run_in_executor behaviour: return a Future. (#5392) 2018-01-28 14:09:40 -05:00
base_futures.py bpo-32436: Implement PEP 567 (#5027) 2018-01-22 19:11:18 -05:00
base_subprocess.py [3.7] bpo-32262: Fix typo in f-string (GH-7016) 2018-05-20 20:22:50 +02:00
base_tasks.py bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775) 2017-12-10 18:36:12 -05:00
constants.py bpo-32622: Implement loop.sendfile() (#5271) 2018-01-27 21:22:47 +02:00
coroutines.py bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by gh-5250 (#5291) 2018-01-24 15:14:33 -05:00
events.py Fix senfile typo (GH-6265) (#6274) 2018-03-27 18:34:15 -07:00
format_helpers.py bpo-32311: Implement asyncio.create_task() shortcut (#4848) 2017-12-15 07:04:38 +02:00
futures.py bpo-32643: Drop support for a few private Task and Future APIs. (#5293) 2018-01-24 11:31:01 -05:00
locks.py bpo-32841: Fix cancellation in awaiting asyncio.Condition (GH-5665) 2018-02-14 01:47:30 -08:00
log.py Rename the logger to plain "logger". 2013-10-17 15:39:45 -07:00
proactor_events.py bpo-26819: Prevent proactor double read on resume (GH-6921) 2018-05-20 03:57:32 -07:00
protocols.py [3.7] Fix duplicating words words. (GH-6296) (GH-6297) 2018-03-28 23:05:24 +03:00
queues.py bpo-32574: Fix leaks in asyncio.Queue.put() and .get() (#5208) 2018-01-25 18:45:43 -05:00
runners.py bpo-32314: Fix asyncio.run() to cancel runinng tasks on shutdown (#5262) 2018-01-21 14:56:59 -05:00
selector_events.py bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) (#7022) 2018-05-21 11:35:25 +03:00
sslproto.py bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) (GH-6057) 2018-03-10 18:27:01 +02:00
streams.py bpo-32391: Implement StreamWriter.wait_closed() (#5281) 2018-01-25 00:30:30 +02:00
subprocess.py bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775) 2017-12-10 18:36:12 -05:00
tasks.py bpo-33584: Fix several minor bugs in asyncio. (GH-7003) (GH-7005) 2018-05-20 17:34:28 +03:00
transports.py bpo-32356: idempotent pause_/resume_reading; new is_reading method. (#4914) 2017-12-18 17:03:23 -05:00
unix_events.py bpo-32622: Normalize ENOTCONN to ConnectionError on macOS (GH-5369) 2018-01-27 17:22:01 -05:00
windows_events.py bpo-32622: Native sendfile on windows (GH-5565) 2018-02-25 09:10:58 -08:00
windows_utils.py bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775) 2017-12-10 18:36:12 -05:00