mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-13 22:47:30 +00:00
control/controlhttp: remove ClientConn.UntrustedUpgradeHeaders
It was just added and unreleased but we've decided to go a different route.
Details are in 5e9e57ecf5
.
Updates #5972
Change-Id: I49016af469225f58535f63a9b0fbe5ab6a5bf304
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
b2035a1dca
commit
dfe67afb4a
@@ -5,8 +5,6 @@
|
||||
package controlhttp
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"tailscale.com/control/controlbase"
|
||||
)
|
||||
|
||||
@@ -17,10 +15,4 @@ import (
|
||||
type ClientConn struct {
|
||||
// Conn is the noise connection.
|
||||
*controlbase.Conn
|
||||
|
||||
// UntrustedUpgradeHeaders are the HTTP headers seen in the
|
||||
// 101 Switching Protocols upgrade response. They may be nil
|
||||
// or even might've been tampered with by a middlebox.
|
||||
// They should not be trusted.
|
||||
UntrustedUpgradeHeaders http.Header
|
||||
}
|
||||
|
Reference in New Issue
Block a user