• 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...
__main__.py Loading commit data...
echo.py Loading commit data...
echo2.py Loading commit data...
echo3.py Loading commit data...
functional.py Loading commit data...
keycert3.pem Loading commit data...
pycacert.pem Loading commit data...
ssl_cert.pem Loading commit data...
ssl_key.pem Loading commit data...
test_base_events.py Loading commit data...
test_buffered_proto.py Loading commit data...
test_context.py Loading commit data...
test_events.py Loading commit data...
test_futures.py Loading commit data...
test_locks.py Loading commit data...
test_pep492.py Loading commit data...
test_proactor_events.py Loading commit data...
test_queues.py Loading commit data...
test_runners.py Loading commit data...
test_selector_events.py Loading commit data...
test_server.py Loading commit data...
test_sslproto.py Loading commit data...
test_streams.py Loading commit data...
test_subprocess.py Loading commit data...
test_tasks.py Loading commit data...
test_transports.py Loading commit data...
test_unix_events.py Loading commit data...
test_windows_events.py Loading commit data...
test_windows_utils.py Loading commit data...
utils.py Loading commit data...