hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCLIENT-710) org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory ignored upon redirect
Date Mon, 10 Dec 2007 15:47:43 GMT

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

Oleg Kalnichevski resolved HTTPCLIENT-710.
------------------------------------------

    Resolution: Won't Fix

Ralf, please DO NOT cross-link unrelated issues.

Oleg 

> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message