]> Cypherpunks repositories - gostls13.git/commit
net: calling File leaves the socket in nonblocking mode
authorMichael Fraenkel <michael.fraenkel@gmail.com>
Thu, 19 Apr 2018 21:54:29 +0000 (17:54 -0400)
committerIan Lance Taylor <iant@golang.org>
Thu, 19 Apr 2018 23:33:09 +0000 (23:33 +0000)
commit60e3ebb9cba900f7b2f559b472726cee47e823c0
treee03e2c15bed93a6f5593a608a1710a3e2bbb84e3
parent68c10286c795e286c3efaa7df6d52d12af446d57
net: calling File leaves the socket in nonblocking mode

On Unix systems, the underlying socket is no longer forced into blocking
mode.

Fixes #24942

Change-Id: I3e0c503c72df0844e30a63af298691dedacd1f46
Reviewed-on: https://go-review.googlesource.com/108297
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/fd_unix.go
src/net/net.go
src/net/tcpsock.go
src/net/unixsock.go