hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1382) BasicHttpClientConnectionManager doesn't handle http protocol
Date Fri, 05 Jul 2013 11:15:48 GMT
Romain Manni-Bucau created HTTPCLIENT-1382:
----------------------------------------------

             Summary: BasicHttpClientConnectionManager  doesn't handle http protocol
                 Key: HTTPCLIENT-1382
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1382
             Project: HttpComponents HttpClient
          Issue Type: Bug
            Reporter: Romain Manni-Bucau
             Fix For: 4.3 Beta3


http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/BasicHttpClientConnectionManager.java
default registry is:

private static Registry<ConnectionSocketFactory> getDefaultRegistry() {
        return RegistryBuilder.<ConnectionSocketFactory>create()
                .register("https", PlainSocketFactory.getSocketFactory())
                .register("https", SSLSocketFactory.getSocketFactory())
                .build();
    }

instead of

private static Registry<ConnectionSocketFactory> getDefaultRegistry() {
        return RegistryBuilder.<ConnectionSocketFactory>create()
                .register("http", PlainSocketFactory.getSocketFactory())
                .register("https", SSLSocketFactory.getSocketFactory())
                .build();
    }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


Mime
View raw message