summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorJames Tucker <james@tailscale.com>2025-01-31 12:54:50 -0800
committerJames Tucker <jftucker@gmail.com>2025-02-03 10:15:26 -0800
commit10fe10ea10f88aaa1ffbb79aa5dd864ca69391ba (patch)
treec6f1d89ff691edd640c4fa2f1dce5563ca8c7ce2 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent17ca2b7721bbaec6dd61019633a51d07b20fc2e7 (diff)
downloadtailscale-10fe10ea10f88aaa1ffbb79aa5dd864ca69391ba.tar.xz
tailscale-10fe10ea10f88aaa1ffbb79aa5dd864ca69391ba.zip
derp/derphttp,ipn/localapi,net/captivedetection: add cache resistance to captive portal detection
Observed on some airlines (British Airways, WestJet), Squid is configured to cache and transform these results, which is disruptive. The server and client should both actively request that this is not done by setting Cache-Control headers. Send a timestamp parameter to further work against caches that do not respect the cache-control headers. Updates #14856 Signed-off-by: James Tucker <james@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions