Author vstinner
Recipients asvetlov, pablogsal, vstinner, yselivanov
Date 2018-06-07.02:26:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

        if self.is_reading():
            # reset reading callback / buffers / self._read_fut

This method cancelled the pending overlapped WSARecv(), and then create a new overlapped WSARecv().

Even after CancelIoEx(old overlapped), the IOCP loop still gets an event for the completion of the recv. Problem: since the Python future is cancelled, the even is ignored and so 176 bytes are lost.

I'm surprised that an overlapped WSARecv() cancelled by CancelIoEx() still returns data when IOCP polls for events.
Date User Action Args
2018-06-07 02:26:38vstinnersetrecipients: + vstinner, asvetlov, yselivanov, pablogsal
2018-06-07 02:26:38vstinnersetmessageid: <>
2018-06-07 02:26:38vstinnerlinkissue33694 messages
2018-06-07 02:26:37vstinnercreate