0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-20 22:52:58 -05:00
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.go proxy: record request Body for retry (fixes #1229) 2016-11-04 19:15:36 +08:00
body_test.go proxy: record request Body for retry (fixes #1229) 2016-11-04 19:15:36 +08:00
policy.go
policy_test.go
proxy.go Filter empty headers (#1239) 2016-11-16 21:41:53 -07:00
proxy_test.go Fixed HTTP/2 support for the proxy middleware (#1300) 2016-12-21 12:44:07 -07:00
reverseproxy.go Fixed #1292: Failure to proxy WebSockets over HTTPS 2016-12-26 20:52:36 +01:00
setup.go
setup_test.go
upstream.go
upstream_test.go