caddy/caddyhttp/proxy
Leonard Hecker 9f9ad21aaa Fixed #1292: Failure to proxy WebSockets over HTTPS
This issue was caused by connHijackerTransport trying to record HTTP
response headers by "hijacking" the Read() method of the plain net.Conn.
This does not simply work over TLS though since this will record the TLS
handshake and encrypted data instead of the actual content.
This commit fixes the problem by providing an alternative transport.DialTLS
which correctly hijacks the overlying tls.Conn instead.
2016-12-26 20:52:36 +01: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 #1292: Failure to proxy WebSockets over HTTPS 2016-12-26 20:52:36 +01: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