diff options
author | Maisem Ali <maisem@tailscale.com> | 2022-03-21 17:43:45 +0000 |
---|---|---|
committer | Heschi Kreinick <heschi@google.com> | 2022-05-09 20:17:13 +0000 |
commit | 4c5acd4b5729e3345a35ce43a8633d24dc1e42fc (patch) | |
tree | 5f70cbd59e929f01c6b74bb265adaf62af582474 /src/syscall/syscall_linux.go | |
parent | 78992411ded8288ed32790ece2b998f0a6c7d997 (diff) | |
download | go-4c5acd4b5729e3345a35ce43a8633d24dc1e42fc.tar.gz go-4c5acd4b5729e3345a35ce43a8633d24dc1e42fc.zip |
[release-branch.go1.17] net/http/httptest: fix race in Server.Close
When run with race detector the test fails without the fix.
For #51799
Fixes #52455
Change-Id: I273adb6d3a2b1e0d606b9c27ab4c6a9aa4aa8064
GitHub-Last-Rev: a5ddd146a2a65f2e817eed5133449c79b3af2562
GitHub-Pull-Request: golang/go#51805
Reviewed-on: https://go-review.googlesource.com/c/go/+/393974
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Trust: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
(cherry picked from commit 1d19cea740a5a044848aaab3dc119f60c947be1d)
Reviewed-on: https://go-review.googlesource.com/c/go/+/401318
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/syscall/syscall_linux.go')
0 files changed, 0 insertions, 0 deletions