[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550106
 ] 

Ralf Hauser commented on HTTPCLIENT-710:
----------------------------------------

see also HTTPCLIENT-498

> org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory ignored 
> upon redirect
> ----------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-710
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-710
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.1 Final
>            Reporter: Ralf Hauser
>
> The first connection gets properly established with the 
>               SecureProtocolSocketFactory sslSf = new MySSLSocketFactory();
>               Protocol protocol = new Protocol("https", sslSf, port);
>               client.getHostConfiguration().setHost(// location.getHost()
>                               DMS_HOST, port, protocol);
>               client.executeMethod(httpGet);
> but since our server does redirects, it should continue to do so, but it 
> appears it doesn't:
>       at 
> javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:212)
>       at 
> org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
>       at 
> org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127)
>       at 
> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>       at 
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>       at 
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>       at 
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>       at 
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to