]> Cypherpunks repositories - gostls13.git/commit
internal/poll: only call SetFileCompletionNotificationModes for sockets
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 11 Oct 2017 07:23:30 +0000 (18:23 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 12 Oct 2017 07:13:23 +0000 (07:13 +0000)
commit862fb86c6e2b84dc08c65d3692e7758bcc120ba8
tree23e6a1203b44dd7f62a138d9148130fe4e54c08c
parentc37647fc3abd3aa9307d5abbce63c9d6c7c70602
internal/poll: only call SetFileCompletionNotificationModes for sockets

CL 36799 made SetFileCompletionNotificationModes to be called for
file handles. I don't think it is correct. Revert that change.

Fixes #22024
Fixes #22207

Change-Id: I26260e8a727131cffbf60958d79eca2457495554
Reviewed-on: https://go-review.googlesource.com/69871
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/internal/poll/fd_windows.go