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