• Victor Stinner's avatar
    asyncio, Tulip issue 204: Fix IocpProactor.recv() · 41063d2a
    Victor Stinner authored
    If ReadFile() fails with ERROR_BROKEN_PIPE, the operation is not pending: don't
    register the overlapped.
    
    I don't know if WSARecv() can fail with ERROR_BROKEN_PIPE. Since
    Overlapped.WSARecv() already handled ERROR_BROKEN_PIPE, let me guess that it
    has the same behaviour than ReadFile().
    41063d2a
windows_events.py 26.7 KB