1
0
mirror of https://github.com/golang/go synced 2024-10-04 10:21:21 -06:00
go/src/pkg
Mikio Hara c0325f5083 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
2014-07-29 16:48:11 +09:00
..
archive archive/tar: fix writing of pax headers 2014-07-17 10:00:29 +10:00
bufio bufio: fix UnreadSlice followed by UnreadRune 2014-07-18 09:25:59 -07:00
builtin
bytes bytes, strings: optimize Repeat 2014-06-11 19:03:59 -07:00
compress compress/bzip2: fix panics on malformed input. 2014-07-15 18:44:33 -07:00
container container/heap: update example code 2014-05-15 13:58:13 -07:00
crypto crypto/tls: check curve equation in ECDHE. 2014-07-28 15:46:27 -07:00
database/sql src, misc: applied gofmt -s -w 2014-07-16 16:29:51 -07:00
debug cmd/ld: use count, not upper bound, in type of array 2014-07-16 18:26:50 +00:00
encoding encoding/asn1: only omit optional elements matching default value. 2014-07-28 14:47:37 -07:00
errors
expvar all: spelling tweaks, A-G 2014-04-29 12:44:40 -04:00
flag flag: fix typo 2014-07-16 12:27:25 -07:00
fmt fmt: fix typo in help doc 2014-06-24 16:59:33 -07:00
go net/http: create internal pkg, unify two chunked.go files 2014-07-21 12:18:14 -07:00
hash all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
html text/template,html/template: document that partial results may be written on error 2014-05-19 14:29:45 -07:00
image image/png: use branch-free abs function 2014-07-29 14:29:14 +10:00
index/suffixarray index/suffixarray: reduce size of a benchmark 2014-06-24 20:37:28 -07:00
io io: copy slice argument in MultiReader and MultiWriter 2014-05-12 23:38:35 -04:00
log src, misc: applied gofmt -s -w 2014-07-16 16:29:51 -07:00
math math: remove Nextafter64 alias in favor of existing Nextafter 2014-06-11 14:24:16 -07:00
mime src, misc: applied gofmt -w -s 2014-07-01 10:28:10 -07:00
net net: prevent spurious on-connect events via epoll on linux 2014-07-29 16:48:11 +09:00
os os: broaden the range of errors understood by IsNotExist on Plan 9 2014-07-18 11:04:29 -07:00
path os: Implement symlink support for Windows 2014-07-17 17:02:46 +10:00
reflect runtime: simpler and faster GC 2014-07-29 11:01:02 +04:00
regexp src, misc: applied gofmt -w -s 2014-07-01 10:28:10 -07:00
runtime runtime: simpler and faster GC 2014-07-29 11:01:02 +04:00
sort std lib: fix various typos in comments 2014-05-02 13:17:55 -07:00
strconv strconv: fix handling of BOMs in CanBackquote 2014-07-16 13:06:11 -07:00
strings strings: remove byteBitmap 2014-07-17 09:55:12 -07:00
sync sync/atomic: fix data races in tests 2014-07-20 14:59:19 +04:00
syscall syscall: fix handling of bool return values in mksyscall_windows.go 2014-07-25 15:13:59 +10:00
testing testing: add Coverage function 2014-07-22 22:56:35 -04:00
text text/scanner: fix comment 2014-06-17 09:34:11 -07:00
time time: make it clearer that the reference time is the reference time. 2014-07-28 17:24:39 -07:00
unicode src, misc: applied gofmt -s -w 2014-07-16 16:29:51 -07:00
unsafe