Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tailscale/tailscale
/ ConnIsFromProxy
Method
ConnIsFromProxy
control/controlhttp/http_test.go:395–399 ·
view source on GitHub ↗
(addr string)
Source
from the content-addressed store, hash-verified
393
}
394
395
func
(s *socksProxy) ConnIsFromProxy(addr string) bool {
396
s.Lock()
397
defer
s.Unlock()
398
return
s.clientConnAddrs[addr]
399
}
400
401
type
httpProxy
struct
{
402
useTLS bool
// take incoming connections over TLS
Callers
nothing calls this directly
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected