You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Valentin Chartier (JIRA)" <ji...@apache.org> on 2013/10/02 13:31:24 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13783848#comment-13783848 ]
Valentin Chartier commented on HTTPCLIENT-1405:
-----------------------------------------------
Fix validated.
> 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