You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/04/17 08:10:58 UTC
svn commit: r529496 -
/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/HttpClient.java
Author: jaz
Date: Mon Apr 16 23:10:57 2007
New Revision: 529496
URL: http://svn.apache.org/viewvc?view=rev&rev=529496
Log:
changed to use the normal host checking by default
Modified:
ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/HttpClient.java
Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/HttpClient.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/HttpClient.java?view=diff&rev=529496&r1=529495&r2=529496
==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/HttpClient.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/HttpClient.java Mon Apr 16 23:10:57 2007
@@ -356,7 +356,7 @@
// Create the URL and open the connection.
try {
requestUrl = new URL(url);
- con = URLConnector.openConnection(requestUrl, timeout, clientCertAlias, 0);
+ con = URLConnector.openConnection(requestUrl, timeout, clientCertAlias, SSLUtil.HOSTCERT_NORMAL_CHECK);
if (Debug.verboseOn() || debug) Debug.log("Connection opened to : " + requestUrl.toExternalForm(), module);
if ((con instanceof HttpURLConnection)) {