cpython/Lib/test/test_asyncio
Andrew Svetlov 7208bfb64b
[3.6] bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) (#7025)
* 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)
2018-05-21 13:09:49 +03:00
..
__init__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
__main__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
echo.py
echo2.py
echo3.py
keycert3.pem
pycacert.pem
ssl_cert.pem
ssl_key.pem
test_base_events.py bpo-33522: Enable CI builds on Visual Studio Team Services (GH-6865) (GH-6925) 2018-05-17 09:46:00 -04:00
test_events.py bpo-32517: fix test_read_pty_output() hangs on macOS 10.13.2+ (GH-6037) 2018-03-09 12:43:45 -05:00
test_futures.py [3.6] bpo-31250: test_asyncio: fix dangling threads (#3517) 2017-09-12 14:18:23 -07:00
test_locks.py bpo-32841: Fix cancellation in awaiting asyncio.Condition (GH-5665) (GH-5683) 2018-02-14 12:10:18 +02:00
test_pep492.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_proactor_events.py [3.6] bpo-31250: test_asyncio: fix dangling threads (#3517) 2017-09-12 14:18:23 -07:00
test_queues.py bpo-31620: have asyncio/queues not leak memory when you've exceptions during waiting (GH-3813) (#4326) 2017-11-07 22:08:15 +03:00
test_selector_events.py [3.6] bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) (#7025) 2018-05-21 13:09:49 +03:00
test_sslproto.py [3.6] bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) (GH-6058) 2018-03-10 19:09:07 +02:00
test_streams.py bpo-32034: Make IncompleteReadError & LimitOverrunError pickleable GH-4409 (#4411) 2017-11-15 19:28:25 -05:00
test_subprocess.py bpo-31034: Reliable signal handler for test_asyncio (#2867) (#2876) 2017-07-26 02:33:47 +02:00
test_tasks.py bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 22:15:24 +09:00
test_transports.py asyncio: Move loop attribute to _FlowControlMixin 2014-11-05 15:27:41 +01:00
test_unix_events.py bpo-26133: Fix typos (GH-5010) (#5014) 2017-12-26 12:29:29 +02:00
test_windows_events.py bpo-31008: Fix asyncio test_wait_for_handle on Windows (#3065) (#3068) 2017-08-11 01:52:13 +02:00
test_windows_utils.py asyncio: Close transports in tests 2015-01-15 14:24:55 +01:00