From: <asa...@us...> - 2014-03-11 22:19:30
|
Revision: 9174 http://sourceforge.net/p/htmlunit/code/9174 Author: asashour Date: 2014-03-11 22:19:27 +0000 (Tue, 11 Mar 2014) Log Message: ----------- HttpWebConnection: use the same context, when calling SSLv3, thanks to Ronald for hinting. Modified Paths: -------------- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java 2014-03-11 17:37:56 UTC (rev 9173) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java 2014-03-11 22:19:27 UTC (rev 9174) @@ -184,7 +184,7 @@ // Try to use only SSLv3 instead if (webClient_.getOptions().isUseInsecureSSL()) { HtmlUnitSSLConnectionSocketFactory.setUseSSL3Only(httpContext_, true); - httpResponse = builder.build().execute(hostConfiguration, httpMethod); + httpResponse = builder.build().execute(hostConfiguration, httpMethod, httpContext_); } else { throw s; |