Description[release-branch.go1.3] net: prevent spurious on-connect events via epoll on linux
««« CL 120820043 / 06a4b59c1393
net: prevent spurious on-connect events via epoll on linux
On Linux, adding a socket descriptor to epoll instance before getting
the EINPROGRESS return value from connect system call could be a root
cause of spurious on-connect events.
See golang.org/issue/8276, golang.org/issue/8426 for further information.
All credit to Jason Eggleston <jason@eggnet.com>
Fixes issue 8276.
Fixes issue 8426.
LGTM=dvyukov
R=dvyukov, golang-codereviews, adg, dave, iant, alex.brainman
CC=golang-codereviews
https://codereview.appspot.com/120820043
»»»
Patch Set 1 #Patch Set 2 : diff -r ea075874a3647d1b7658e8cc6d3f8e2911d1c204 https://code.google.com/p/go #
MessagesTotal messages: 4
|