geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r940474 - /geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java
Date Mon, 03 May 2010 14:47:33 GMT
Author: gawor
Date: Mon May  3 14:47:33 2010
New Revision: 940474

URL: http://svn.apache.org/viewvc?rev=940474&view=rev
Log:
connect explicitly so that we can catch the connection problems sooner

Modified:
    geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java

Modified: geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java?rev=940474&r1=940473&r2=940474&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java
(original)
+++ geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java
Mon May  3 14:47:33 2010
@@ -89,6 +89,8 @@ public class HttpUtils {
 
             out.flush();
             out.close();
+        } else {
+            conn.connect();
         }
 
         InputStream is = null;



Mime
View raw message