• Victor Stinner's avatar
    bpo-33694: Fix race condition in asyncio proactor (GH-7498) · 79790bc3
    Victor Stinner yazdı
    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.
    79790bc3
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
base_events.py Loading commit data...
base_futures.py Loading commit data...
base_subprocess.py Loading commit data...
base_tasks.py Loading commit data...
constants.py Loading commit data...
coroutines.py Loading commit data...
events.py Loading commit data...
format_helpers.py Loading commit data...
futures.py Loading commit data...
locks.py Loading commit data...
log.py Loading commit data...
proactor_events.py Loading commit data...
protocols.py Loading commit data...
queues.py Loading commit data...
runners.py Loading commit data...
selector_events.py Loading commit data...
sslproto.py Loading commit data...
streams.py Loading commit data...
subprocess.py Loading commit data...
tasks.py Loading commit data...
transports.py Loading commit data...
unix_events.py Loading commit data...
windows_events.py Loading commit data...
windows_utils.py Loading commit data...