diff options
| author | Michael Fraenkel <michael.fraenkel@gmail.com> | 2023-04-28 07:14:08 -0600 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-05-02 12:56:19 +0000 |
| commit | c63066123bb5c2ef7a6d26d1a6e3e5f1012a1e23 (patch) | |
| tree | 23081ee39ba1f3a70c696f684605ad97c787cc21 /src/runtime | |
| parent | 46f60d650616b192c74bf8960df6e0bb99be2a9b (diff) | |
| download | go-c63066123bb5c2ef7a6d26d1a6e3e5f1012a1e23.tar.xz | |
net/http: avoid leaking the writing goroutine
The test will wait for all goroutines.
A race can occur if the writing goroutine uses the Log after the test exits.
For #58264
For #59883
For #59884
Change-Id: I9b8ec7c9d024ff74b922b69efa438be5a4fa3483
Reviewed-on: https://go-review.googlesource.com/c/go/+/490255
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
