]> Cypherpunks repositories - gostls13.git/commit
net: avoid multiple calling of syscall connect on Unix variants
authorMikio Hara <mikioh.mikioh@gmail.com>
Mon, 24 Mar 2014 17:56:10 +0000 (02:56 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Mon, 24 Mar 2014 17:56:10 +0000 (02:56 +0900)
commitd1e3ad8bc1be60638c10d3b0962035bebf8b4275
treecd702b9253a7432a23f5111bbd6bc7b69899f5a2
parent4ffa021965ac5a307cee497feefc834b2a1e041e
net: avoid multiple calling of syscall connect on Unix variants

The previous fix CL 69340044 still leaves a possibility of it.
This CL prevents the kernel, especially DragonFly BSD, from
performing unpredictable asynchronous connection establishment
on stream-based transport layer protocol sockets.

Update #7541
Update #7474

LGTM=jsing
R=jsing
CC=golang-codereviews
https://golang.org/cl/75930043
src/pkg/net/fd_unix.go