cpython/Lib/asyncio
Victor Stinner 79790bc35f
bpo-33694: Fix race condition in asyncio proactor (GH-7498)
The cancellation of an overlapped WSARecv() has a race condition
which causes data loss because of the current implementation of
proactor in asyncio.

No longer cancel overlapped WSARecv() in _ProactorReadPipeTransport
to work around the race condition.

Remove the optimized recv_into() implementation to get simple
implementation of pause_reading() using the single _pending_data
attribute.

Move _feed_data_to_bufferred_proto() to protocols.py.

Remove set_protocol() method which became useless.
2018-06-08 00:25:52 +02:00
..
__init__.py
base_events.py bpo-33769: start_tls: Fix error message; cancel callbacks on error (GH-7403) 2018-06-05 08:59:58 -04:00
base_futures.py bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056) 2018-05-30 10:15:06 +03:00
base_subprocess.py
base_tasks.py
constants.py bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321) 2018-06-04 11:32:35 -04:00
coroutines.py
events.py bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321) 2018-06-04 11:32:35 -04:00
format_helpers.py
futures.py
locks.py
log.py
proactor_events.py bpo-33694: Fix race condition in asyncio proactor (GH-7498) 2018-06-08 00:25:52 +02:00
protocols.py bpo-33694: Fix race condition in asyncio proactor (GH-7498) 2018-06-08 00:25:52 +02:00
queues.py
runners.py
selector_events.py
sslproto.py bpo-33694: Fix race condition in asyncio proactor (GH-7498) 2018-06-08 00:25:52 +02:00
streams.py
subprocess.py
tasks.py
transports.py
unix_events.py
windows_events.py
windows_utils.py