Commit 3dc98c8c authored by Michael Grosser's avatar Michael Grosser Committed by GitHub

Keep quic protocol headers only between one hop

Removing quic protocol headers from being persisted during proxy requests.
Not removing them could lead to the client attempting to connect to the wrong port.
This makes the quic headers consistent with other protocol headers.
parent 151d0baa
...@@ -271,6 +271,8 @@ var hopHeaders = []string{ ...@@ -271,6 +271,8 @@ var hopHeaders = []string{
"Trailers", "Trailers",
"Transfer-Encoding", "Transfer-Encoding",
"Upgrade", "Upgrade",
"Alternate-Protocol",
"Alt-Svc",
} }
type respUpdateFn func(resp *http.Response) type respUpdateFn func(resp *http.Response)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment