diff options
| author | Mikio Hara <mikioh.mikioh@gmail.com> | 2014-07-29 16:48:11 +0900 |
|---|---|---|
| committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2014-07-29 16:48:11 +0900 |
| commit | c0325f50832489f2060549d6b19ce156df45b044 (patch) | |
| tree | b2245223fe3d729a796faa07d55bf723cce3e769 /src/pkg/runtime/softfloat_arm.c | |
| parent | 9333fe8e92971654d0f96d137d46a019cde836e3 (diff) | |
| download | go-c0325f50832489f2060549d6b19ce156df45b044.tar.xz | |
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 #8276.
Fixes #8426.
LGTM=dvyukov
R=dvyukov, golang-codereviews, adg, dave, iant, alex.brainman
CC=golang-codereviews
https://golang.org/cl/120820043
Diffstat (limited to 'src/pkg/runtime/softfloat_arm.c')
0 files changed, 0 insertions, 0 deletions
