Bug 50508

Summary: mod_proxy_connection doesn't work over ssl connection
Product: Apache httpd-2 Reporter: Evgeny.Sabelskiy
Component: mod_proxyAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 2.2.17   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Evgeny.Sabelskiy 2010-12-21 18:02:06 UTC
i have tested "CONNECT blablabla" request over TLS connection and found issue.

Apache 2.2.17, standard schema for VirtualHost:443

ProxyRequests on
ProxyVia on
AllowCONNECT 443

<Proxy *>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Proxy>


so, i want to allow CONNECT proxy on 443 port and want to proxy requests to remote 443 hosts.

okay, apache gets my SSL secured request "CONNECT ....." w/o any problem, but then sends me response "HTTP/1.0 200 Connection Established" using not secured layer (seems just pushes text response to tcp stream), so, my client (Apache Java HTTPClient) failed to parse SSL response.

it is easy to reproduce problem and capture "bad" response by tcpdump.
Comment 1 Evgeny.Sabelskiy 2010-12-21 18:16:17 UTC

*** This bug has been marked as a duplicate of bug 29744 ***