You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2010/05/03 16:47:33 UTC
svn commit: r940474 -
/geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java
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;