mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-22 04:32:40 +09:00
Close the specific forwarded listener on connection cancellation and stop its callback when the accept loop exits. Canceling a forward no longer retains a connection-lifetime waiter or looks up a replacement listener by address. Test repeated cancel and rebind operations on one connection, along with callback cleanup when the listener closes independently. Make the existing connection-cancellation test fail if its listener stays open. Updates tailscale/corp#50380 Change-Id: Ife7fb0acde012b0abf1a8d804b9c6a8994ee5703 Signed-off-by: James Tucker <james@tailscale.com>