Repository navigation
Commit 574e5eb
quic: halt conn goroutines on close when listener exits early
Endpoint.Close could return with conn goroutines still running
if the endpoint's PacketConn was closed prior to the last conn
exiting. (Normally the last conn to exit closes the PacketConn.)
Clean up any stray conns before returning.
Change-Id: I444f7dbb1e7b194c74a1ff8025abb4346a6a6964
Reviewed-on: https://go-review.googlesource.com/c/net/+/801881
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Nicholas Husin <husin@google.com>1 parent 0da447f commit 574e5eb
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 152 | | |
157 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| |||
0 commit comments