mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
7d86d57444
commit
368f73bcd9
5 changed files with 37 additions and 16 deletions
|
|
@ -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{})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue