tailscale/net/dns/resolver
James Tucker 8d0d46462b net/dns: timeout DOH requests after 10s without response headers
If a client socket is remotely lost but the client is not sent an RST in
response to the next request, the socket might sit in RTO for extended
lengths of time, resulting in "no internet" for users. Instead, timeout
after 10s, which will close the underlying socket, recovering from the
situation more promptly.

Updates #10967

Signed-off-by: James Tucker <james@tailscale.com>
2024-02-23 23:08:12 -08:00
..
debug.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
doh_test.go net/dns/resolver: remove maxDoHInFlight 2023-02-03 17:07:12 -08:00
forwarder.go net/dns: timeout DOH requests after 10s without response headers 2024-02-23 23:08:12 -08:00
forwarder_test.go net/dns/resolver: fix flaky test 2023-10-03 22:23:05 -04:00
macios_ext.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
tsdns.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
tsdns_server_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tsdns_test.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00