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/ipn/ipnlocal
Andrea Gottardo c751a21876 net/dns: close idle DoH connections when entering sleep mode
Updates tailscale/tailscale#3363
Updates tailscale/tailscale#6148

Provides a facility for the iOS code (and later Android) to signal the beginning of device-wide sleep mode to the LocalBackend, and wires it up to the DNS forwarder, to early-close any open DoH connections when the device is about to enter sleep mode (we don't want a single TCP keepalive to wake up the device again seconds later).

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
4 weeks ago
..
testdata
autoupdate.go
autoupdate_disabled.go
breaktcp_darwin.go
breaktcp_linux.go
c2n.go
c2n_pprof.go
c2n_test.go
cert.go
cert_js.go
cert_test.go
dnsconfig_test.go
drive.go
expiry.go
expiry_test.go
local.go net/dns: close idle DoH connections when entering sleep mode 4 weeks ago
local_test.go
loglines_test.go
network-lock.go
network-lock_test.go
peerapi.go
peerapi_h2c.go
peerapi_macios_ext.go
peerapi_test.go
profiles.go
profiles_notwindows.go
profiles_test.go
profiles_windows.go
serve.go
serve_test.go
ssh.go
ssh_stub.go
ssh_test.go
state_test.go
taildrop.go
web_client.go
web_client_stub.go