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/tshttpproxy
Brad Fitzpatrick 5bcac4eaac 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.
5 years ago
..
tshttpproxy.go net/tshttpproxy: add GetProxyForURL negative cache 5 years ago
tshttpproxy_future.go tshttp, derphttp: send Proxy-Authorization, not Authorization, to proxies 5 years ago
tshttpproxy_windows.go net/tshttpproxy: add GetProxyForURL negative cache 5 years ago