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/safesocket
Andrew Lytvynov 2e956713de
safesocket: remove ConnectionStrategy (#10662)
This type seems to be a migration shim for TCP tailscaled sockets
(instead of unix/windows pipes). The `port` field was never set, so it
was effectively used as a string (`path` field).
Remove the whole type and simplify call sites to pass the socket path
directly to `safesocket.Connect`.

Updates #cleanup

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
11 months ago
..
basic_test.go safesocket: remove ConnectionStrategy (#10662) 11 months ago
pipe_windows.go safesocket: remove ConnectionStrategy (#10662) 11 months ago
pipe_windows_test.go safesocket: remove ConnectionStrategy (#10662) 11 months ago
safesocket.go safesocket: remove ConnectionStrategy (#10662) 11 months ago
safesocket_darwin.go cmd/tailscale: Check App Store tailscaled dialable before selecting. (#9234) 1 year ago
safesocket_js.go safesocket: remove ConnectionStrategy (#10662) 11 months ago
safesocket_plan9.go safesocket: remove ConnectionStrategy (#10662) 11 months ago
safesocket_ps.go all: update copyright and license headers 2 years ago
safesocket_test.go all: update copyright and license headers 2 years ago
unixsocket.go safesocket: remove ConnectionStrategy (#10662) 11 months ago
zsyscall_windows.go ipn, safesocket: use Windows token in LocalAPI 1 year ago