caddy/caddyhttp/proxy
Leonard Hecker a3aa414ff3 Fixed HTTP/2 support for the proxy middleware (#1300)
* 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
2016-12-21 12:44:07 -07:00
..
body_test.go proxy: record request Body for retry (fixes #1229) 2016-11-04 19:15:36 +08:00
body.go proxy: record request Body for retry (fixes #1229) 2016-11-04 19:15:36 +08:00
policy_test.go 1136 fix 2016-09-28 04:09:46 -07:00
policy.go 1136 fix 2016-09-28 04:09:46 -07:00
proxy_test.go Fixed HTTP/2 support for the proxy middleware (#1300) 2016-12-21 12:44:07 -07:00
proxy.go Filter empty headers (#1239) 2016-11-16 21:41:53 -07:00
reverseproxy.go Fixed HTTP/2 support for the proxy middleware (#1300) 2016-12-21 12:44:07 -07:00
setup_test.go proxy: make value is optional when removing a header 2016-11-03 22:50:51 +00:00
setup.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
upstream_test.go Remove use of proxy_header in test 2016-09-24 12:27:16 -06:00
upstream.go proxy: make value is optional when removing a header 2016-11-03 22:50:51 +00:00