You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2013/10/02 09:47:24 UTC

[jira] [Resolved] (HTTPCLIENT-1405) HttpClient 4.3 - ProxyClient CONNECT message missing Host header

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-1405.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.3.1

Fixed in SVN trunk. Please review / re-test.

Oleg

> 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
>             Fix For: 4.3.1
>
>
> 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