]> Cypherpunks repositories - gostls13.git/commit
net: clarify that Conn deadlines also affect currently-blocked I/O
authorBrad Fitzpatrick <bradfitz@golang.org>
Sun, 2 Oct 2016 03:28:09 +0000 (20:28 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 3 Oct 2016 17:47:08 +0000 (17:47 +0000)
commit5f36e9a3062c1f133169d01d612da9458a7ea884
tree1a19aec8b4f42bd1023a595a606b3ca73b201174
parent99339dd44537f82c9a1348b8937b68b6c61be005
net: clarify that Conn deadlines also affect currently-blocked I/O

All implementations have always implemented this behavior, it's
tested, and it's depended on by other packages. (notably, by net/http)

The one exception is Plan 9 which doesn't support I/O deadlines at all
(tracked in #11932). As a result, a bunch of tests fail on plan9
(#7237). But once Plan 9 adds I/O deadline support, it'll also need
this behavior.

Change-Id: Idb71767f0c99279c66dce29f7bdc78ef467e47aa
Reviewed-on: https://go-review.googlesource.com/30164
Reviewed-by: Sam Whited <sam@samwhited.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/net.go