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/net
Tom acfe5bd33b
net/dns{., resolver}: time out DNS queries after 10 seconds (#4690)
Fixes https://github.com/tailscale/corp/issues/5198

The upstream forwarder will block indefinitely on `udpconn.ReadFrom` if no
reply is recieved, due to the lack of deadline on the connection object.

There still isn't a deadline on the connection object, but the automatic closing
of the context on deadline expiry will close the connection via `closeOnCtxDone`,
unblocking the read and resulting in a normal teardown.

Signed-off-by: Tom DNetto <tom@tailscale.com>
2 years ago
..
dns net/dns{., resolver}: time out DNS queries after 10 seconds (#4690) 2 years ago
dnscache
dnsfallback
flowtrack
interfaces
netcheck all: gofmt all 2 years ago
neterror
netknob
netns
netstat
nettest
netutil
packet *: use WireGuard where logged, printed or named 2 years ago
portmapper
proxymux
socks5
speedtest
stun
tlsdial
tsaddr
tsdial net/tsdial: add SystemDial as a wrapper on netns.Dial 2 years ago
tshttpproxy net/tshttpproxy: synology: pick proxy by scheme 2 years ago
tstun net/tstun, wgengine: use correct type for counter metrics 2 years ago