MCPcopy
hub / github.com/tailscale/tailscale / Close

Method Close

control/controlhttp/http_test.go:373–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

371}
372
373func (s *socksProxy) Close() {
374 s.Lock()
375 defer s.Unlock()
376 if s.closed {
377 return
378 }
379 s.closed = true
380 s.ln.Close()
381}
382
383func (s *socksProxy) dialAndRecord(ctx context.Context, network, addr string) (net.Conn, error) {
384 var d net.Dialer

Callers

nothing calls this directly

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65
CloseMethod · 0.65

Tested by

no test coverage detected