[
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: [email protected]
For additional commands, e-mail: [email protected]