mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 12:16:16 +08:00
a3aa414ff3
* Fixed HTTP/2 support for the proxy middleware http.Transport instances whose TLSClientConfig, Dial, or DialTLS field is non-nil will be configured without HTTP/2 support by default. This commit adds the proper calls to http2.ConfigureTransport() everywhere a http.Transport is created and thus fixes HTTP/2 in the proxy middleware whenever insecure_skip_verify or keepalive is provided. * Added HTTP/2 support check to TestReverseProxyInsecureSkipVerify |
||
---|---|---|
.. | ||
body_test.go | ||
body.go | ||
policy_test.go | ||
policy.go | ||
proxy_test.go | ||
proxy.go | ||
reverseproxy.go | ||
setup_test.go | ||
setup.go | ||
upstream_test.go | ||
upstream.go |