hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Chartier (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1405) HttpClient 4.3 - ProxyClient CONNECT message missing Host header
Date Tue, 01 Oct 2013 16:29:24 GMT
Valentin Chartier created HTTPCLIENT-1405:
---------------------------------------------

             Summary: HttpClient 4.3 - ProxyClient CONNECT message missing Host header
                 Key: HTTPCLIENT-1405
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1405
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.3 Final
            Reporter: Valentin Chartier


org.apache.http.impl.client.ProxyClient fails to CONNECT with code 502 against Apache 2.2
as a direct proxy.

The proxy logs : Client sent HTTP/1.1 request without host name (see RFC2616 section 14.23)

The Host header is missing.

Adding a RequestTargetHost processor in org.apache.http.impl.client.ProxyClient.java at line
112 seems to fix the issue.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message