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/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>
8 months ago
..
derphttp_client.go derp/derphttp: make CONNECT Host match request-target's authority-form 8 months ago
derphttp_server.go all: update copyright and license headers 2 years ago
derphttp_test.go derp/derphttp: fix derptrack fix 1 year ago
mesh_client.go derp/derphttp: fix derptrack fix 1 year ago
websocket.go net/wsconn: accept a remote addr string and plumb it through 1 year ago