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

Reply via email to