tailscale/derp/derphttp
Brad Fitzpatrick 3e6306a782 derp/derphttp: make CONNECT Host match request-target's authority-form
This CONNECT client doesn't match what Go's net/http.Transport does
(making the two values match).  This makes it match.

This is all pretty unspecified but most clients & doc examples show
these matching. And some proxy implementations (such as Zscaler) care.

Updates tailscale/corp#18716

Change-Id: I135c5facbbcec9276faa772facbde1bb0feb2d26
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-03-27 11:36:28 -07:00
..
derphttp_client.go derp/derphttp: make CONNECT Host match request-target's authority-form 2024-03-27 11:36:28 -07:00
derphttp_server.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
derphttp_test.go derp/derphttp: fix derptrack fix 2023-11-04 11:48:40 -07:00
mesh_client.go derp/derphttp: fix derptrack fix 2023-11-04 11:48:40 -07:00
websocket.go net/wsconn: accept a remote addr string and plumb it through 2023-08-29 16:57:16 -07:00