mirror of https://github.com/tailscale/tailscale/
net/tshttpproxy: add GetProxyForURL negative cache
Otherwise when PAC server is down, we log, and each log entry is a new HTTP request (from logtail) and a new GetProxyForURL call, which again logs, non-stop. This is also nicer to the WinHTTP service. Then also hook up link change notifications to the cache to reset it if there's a chance the network might work sooner.pull/776/head
parent
4cc0ed67f9
commit
5bcac4eaac
Loading…
Reference in New Issue