mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-22 08:42:08 +08:00
9f9ad21aaa
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. |
||
---|---|---|
.. | ||
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 |