net: unblock plan9 TCP Read calls after socket close

Fixes #7782
Fixes #9554
Updates #7237 (original metabug, before we switched to specific bugs)
Updates #11932 (plan9 still doesn't have net I/O deadline support)

Change-Id: I96f311b88b1501d884ebc008fd31ad2cf1e16d75
Reviewed-on: https://go-review.googlesource.com/15941
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: David du Colombier <0intro@gmail.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Brad Fitzpatrick 2015-10-16 16:28:42 +00:00
parent 7d86d57444
commit 368f73bcd9
5 changed files with 37 additions and 16 deletions

View file

@ -14,7 +14,6 @@ import (
"net/http/httptest"
"net/url"
"reflect"
"runtime"
"strings"
"testing"
"time"
@ -226,9 +225,6 @@ func TestReverseProxyFlushInterval(t *testing.T) {
}
func TestReverseProxyCancelation(t *testing.T) {
if runtime.GOOS == "plan9" {
t.Skip("skipping test; see https://golang.org/issue/9554")
}
const backendResponse = "I am the backend"
reqInFlight := make(chan struct{})