Author vstinner
Recipients asvetlov, pablogsal, vstinner, yselivanov
Date 2018-06-07.02:52:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Something else. The bug occurs when CancelIoEx() (on the current overlapped WSARecv()) fails internally with ERROR_NOT_FOUND. According to overlapped.c, it means:

/* CancelIoEx returns ERROR_NOT_FOUND if the I/O completed in-between */

HasOverlappedIoCompleted() returns 0 in that case.

The problem is that currently, Overlapped.cancel() also returns None in that case, and later the asyncio IOCP loop ignores the completion event and so drops incoming received data.
Date User Action Args
2018-06-07 02:52:02vstinnersetrecipients: + vstinner, asvetlov, yselivanov, pablogsal
2018-06-07 02:52:02vstinnersetmessageid: <>
2018-06-07 02:52:02vstinnerlinkissue33694 messages
2018-06-07 02:52:02vstinnercreate