diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2020-01-06 11:16:34 -0800 |
|---|---|---|
| committer | Emmanuel Odeke <emm.odeke@gmail.com> | 2020-04-21 23:23:30 +0000 |
| commit | 5a75f7c0b0789fe04ea4879a524cc95dbe734636 (patch) | |
| tree | e3e151b3c003e08f77aa1d13a6f34cc887dd6462 /src/runtime | |
| parent | eacdf76b93174484ffc526d9c45f4836f0738dee (diff) | |
| download | go-5a75f7c0b0789fe04ea4879a524cc95dbe734636.tar.xz | |
net/http: fix Server.Shutdown race where it could miss an active connection
Wait for Listeners to drop to zero too, not just conns.
Fixes #33313
Change-Id: I09350ae38087990d368dcf9302fbde3e95c02fcd
Reviewed-on: https://go-review.googlesource.com/c/go/+/213442
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Hasit Bhatt <hasit.p.bhatt@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
