caddy/caddyhttp
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
..
basicauth Fix misspellings 2016-09-05 10:20:34 -06:00
bind Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
browse Fix for issue #1287 - don't list hidden files in directory listing (#1290) 2016-12-17 11:30:08 -07:00
errors errors: don't join the absolute file path 2016-10-18 09:55:50 +08:00
expvar Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
extensions Fix misspellings 2016-09-05 10:20:34 -06:00
fastcgi Return HTTP 504 when FastCGI connect times out. 2016-12-03 16:31:29 -06:00
gzip Feature #1282 - Support serving statically compressed .gz and .br files (#1289) 2016-12-19 09:51:09 -07:00
header Fix for #1164 - allow only one header per line (#1280) 2016-11-29 21:24:12 -07:00
httpserver Ensure some tests remove temporary directories they created 2016-11-28 22:26:54 -07:00
internalsrv Enable downloading of protected content. See issue #979 (#980) 2016-08-07 23:16:33 -06:00
log Use proper Request (#1197) 2016-10-25 09:28:53 -06:00
markdown Fix for #1276 - support integers and floats as metadata in markdown (#1278) 2016-12-02 23:35:33 -07:00
maxrequestbody Add maxrequestbody directive (#1163) 2016-11-04 08:25:49 +08:00
mime Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
pprof Fix misspellings 2016-09-05 10:20:34 -06:00
proxy Fixed HTTP/2 support for the proxy middleware (#1300) 2016-12-21 12:44:07 -07:00
redirect Fix misspellings 2016-09-05 10:20:34 -06:00
rewrite Remove dead code, do struct alignment, simplify code 2016-10-25 19:19:54 +02:00
root Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
staticfiles Feature #1282 - Support serving statically compressed .gz and .br files (#1289) 2016-12-19 09:51:09 -07:00
status Add 'status' middleware instead of 'status' directive for 'rewrite' middleware 2016-08-29 17:17:23 +03:00
templates Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
websocket Fix misspellings 2016-09-05 10:20:34 -06:00
caddyhttp_test.go Add maxrequestbody directive (#1163) 2016-11-04 08:25:49 +08:00
caddyhttp.go Add maxrequestbody directive (#1163) 2016-11-04 08:25:49 +08:00