You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2013/07/05 13:15:48 UTC

[jira] [Created] (HTTPCLIENT-1382) BasicHttpClientConnectionManager doesn't handle http protocol

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