diff options
| author | Bryan C. Mills <bcmills@google.com> | 2022-04-06 12:03:37 -0400 |
|---|---|---|
| committer | Bryan Mills <bcmills@google.com> | 2022-04-06 20:46:47 +0000 |
| commit | 81ae993e54547415ba674082801b05961e3f2aa3 (patch) | |
| tree | 7ecc1687f1f694568f7a86761a0693edcc03c3f8 /src/text/template/parse | |
| parent | 5bb2628c6f143be065776727cef03276c0e516f7 (diff) | |
| download | go-81ae993e54547415ba674082801b05961e3f2aa3.tar.xz | |
net/http: ignore ECONNRESET errors in TestTransportConcurrency on netbsd
The source of these errors is undiagnosed, but they have only been
observed on netbsd builders (on a variety of architectures).
Tested manually by injecting this code into the test's handler:
if mrand.Intn(4) == 0 {
if conn, _, err := w.(Hijacker).Hijack(); err == nil {
conn.(*net.TCPConn).SetLinger(0)
conn.Close()
return
}
}
and temporarily disabling the 'runtime.GOOS' part of the condition.
For #52168.
Change-Id: I10965803e5a0d493ac4a000575de8b5f0266989c
Reviewed-on: https://go-review.googlesource.com/c/go/+/398635
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/text/template/parse')
0 files changed, 0 insertions, 0 deletions
