summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2025-10-02 18:29:54 -0700
committerBrad Fitzpatrick <brad@danga.com>2025-10-02 20:50:28 -0700
commit206d98e84be6cc309f3fbe9eb34844f0c7883a28 (patch)
treee43c414c02785b21d0fb96903bda423d9fb7de6f /control/controlknobs/controlknobs.go
parentcd523eae52c220ed8731cee349efd77c1aa4a5fe (diff)
downloadtailscale-206d98e84be6cc309f3fbe9eb34844f0c7883a28.tar.xz
tailscale-206d98e84be6cc309f3fbe9eb34844f0c7883a28.zip
control/controlclient: restore aggressive Direct.Close teardown
In the earlier http2 package migration (1d93bdce20ddd2, #17394) I had removed Direct.Close's tracking of the connPool, thinking it wasn't necessary. Some tests (in another repo) are strict and like it to tear down the world and wait, to check for leaked goroutines. And they caught this letting some goroutines idle past Close, even if they'd eventually close down on their own. This restores the connPool accounting and the aggressife close. Updates #17305 Updates #17394 Change-Id: I5fed283a179ff7c3e2be104836bbe58b05130cc7 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions