mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-26 02:09:47 +08: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
|
@ -271,6 +271,8 @@ var hopHeaders = []string{
|
|||
"Trailers",
|
||||
"Transfer-Encoding",
|
||||
"Upgrade",
|
||||
"Alternate-Protocol",
|
||||
"Alt-Svc",
|
||||
}
|
||||
|
||||
type respUpdateFn func(resp *http.Response)
|
||||
|
|
Loading…
Reference in New Issue
Block a user