mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
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.
This commit is contained in:
parent
151d0baa94
commit
3dc98c8ce3
1 changed files with 2 additions and 0 deletions
|
@ -271,6 +271,8 @@ var hopHeaders = []string{
|
|||
"Trailers",
|
||||
"Transfer-Encoding",
|
||||
"Upgrade",
|
||||
"Alternate-Protocol",
|
||||
"Alt-Svc",
|
||||
}
|
||||
|
||||
type respUpdateFn func(resp *http.Response)
|
||||
|
|
Loading…
Reference in a new issue