hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Castagnino (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1200) DecompressingHttpClient fails to request on https host
Date Thu, 31 May 2012 09:52:23 GMT
Guillaume Castagnino created HTTPCLIENT-1200:

             Summary: DecompressingHttpClient fails to request on https host
                 Key: HTTPCLIENT-1200
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1200
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.2 Final
         Environment: Ubuntu / openjdk-7
            Reporter: Guillaume Castagnino

When using the DecompressingHttpClient on a https host, if the client is executed with "execute(HttpUriRequest
request, HttpContext context)" or any other execute method that do not provide the HttpHost
target, the target is generated from the getHttpHost method.

Problem in this method is that uri.getAuthority() may not contain scheme, nor port. So this
results in issuing https queries to port 80.

Follow a patch that fixes this

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


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

View raw message