DescriptionAvoid unsafe usage of CancelIo() within Windows SyncSocket.
The CancelIo() operation does not synchronously cancel IO operations,
we must wait for them to return before returning to avoid writes to
resources which may have already been destructed.
See this blog post for more information:
http://blogs.msdn.com/b/oldnewthing/archive/2011/02/02/10123392.aspx
BUG=413494
TEST=manual inspect of cancellation states.
Committed: https://crrev.com/3bdbb01600f8ca78609794c23f2f1c8410a78e98
Cr-Commit-Position: refs/heads/master@{#294946}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix clients. #
Messages
Total messages: 15 (6 generated)
|