summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Holt <[email protected]>2016-08-23 16:46:43 -0600
committerGitHub <[email protected]>2016-08-23 16:46:43 -0600
commit70cbfdc585a6d31f6c6e92b37a97e786618b4dce (patch)
treefc6370b50ad7a6dc7957394771e8c0c64037eda6
parent151d0baa9420feda02d8f82ee2a355885a62333e (diff)
parent3dc98c8ce3f92187221dc6381cb31c17923dd65c (diff)
downloadcaddy-70cbfdc585a6d31f6c6e92b37a97e786618b4dce.tar.gz
caddy-70cbfdc585a6d31f6c6e92b37a97e786618b4dce.zip
Merge pull request #1064 from stp-ip/quic-protocol-headers
Keep quic protocol headers only between one hop
-rw-r--r--caddyhttp/proxy/reverseproxy.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/caddyhttp/proxy/reverseproxy.go b/caddyhttp/proxy/reverseproxy.go
index 3c7752bbc..5038afcb1 100644
--- a/caddyhttp/proxy/reverseproxy.go
+++ b/caddyhttp/proxy/reverseproxy.go
@@ -271,6 +271,8 @@ var hopHeaders = []string{
"Trailers",
"Transfer-Encoding",
"Upgrade",
+ "Alternate-Protocol",
+ "Alt-Svc",
}
type respUpdateFn func(resp *http.Response)