You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/control
Brad Fitzpatrick 206d98e84b control/controlclient: restore aggressive Direct.Close teardown
In the earlier http2 package migration (1d93bdce20, #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>
2 months ago
..
controlbase all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111] 11 months ago
controlclient control/controlclient: restore aggressive Direct.Close teardown 2 months ago
controlhttp control/controlclient: remove x/net/http2, use net/http 2 months ago
controlknobs control, ipn, tailcfg: enable seamless key renewal by default 3 months ago
ts2021 control/controlclient: restore aggressive Direct.Close teardown 2 months ago