tailscale/safeweb
Patrick O'Doherty 1535d0feca
safeweb: move http.Serve for HTTP redirects into lib (#11592)
Refactor the interaction between caller/library when establishing the
HTTP to HTTPS redirects by moving the call to http.Serve into safeweb.
This makes linting for other uses of http.Serve easier without having to
account for false positives created by the old interface.

Updates https://github.com/tailscale/corp/issues/8027

Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
2024-04-02 12:04:24 -07:00
..
http_test.go safeweb: detect mux handler conflicts (#11562) 2024-03-29 16:07:09 -06:00
http.go safeweb: move http.Serve for HTTP redirects into lib (#11592) 2024-04-02 12:04:24 -07:00