mirror of
https://github.com/tailscale/tailscale.git
synced 2026-06-11 21:02:39 +08:00
The maxInFlightConnectionAttemptsForTest and maxInFlightConnectionAttemptsPerClientForTest globals were plain ints read by background gVisor TCP handler goroutines (via wrapTCPProtocolHandler) and written by tstest.Replace cleanup in TestTCPForwardLimits_PerClient. When a gVisor goroutine outlived the test cleanup window, the race detector caught the unsynchronized access. The race-prone code was introduced in |
||
|---|---|---|
| .. | ||
| gro | ||
| link_endpoint.go | ||
| netstack_linux.go | ||
| netstack_tcpbuf_default.go | ||
| netstack_tcpbuf_ios.go | ||
| netstack_test.go | ||
| netstack_userping_apple.go | ||
| netstack_userping_test.go | ||
| netstack_userping.go | ||
| netstack.go | ||