[Httpunit-commit] SF.net SVN: httpunit:[998] trunk/httpunit/src/com/meterware/httpunit/ WebConversa
Brought to you by:
russgold
|
From: <wol...@us...> - 2008-11-06 00:12:52
|
Revision: 998
http://httpunit.svn.sourceforge.net/httpunit/?rev=998&view=rev
Author: wolfgang_fahl
Date: 2008-11-06 00:12:47 +0000 (Thu, 06 Nov 2008)
Log Message:
-----------
follow up on BR [ 1518901 ]
Modified Paths:
--------------
trunk/httpunit/src/com/meterware/httpunit/WebConversation.java
Modified: trunk/httpunit/src/com/meterware/httpunit/WebConversation.java
===================================================================
--- trunk/httpunit/src/com/meterware/httpunit/WebConversation.java 2008-11-06 00:10:06 UTC (rev 997)
+++ trunk/httpunit/src/com/meterware/httpunit/WebConversation.java 2008-11-06 00:12:47 UTC (rev 998)
@@ -68,10 +68,9 @@
}
URLConnection connection = openConnection( getRequestURL( request ) );
// [ 1518901 ] enable http connect and read timeouts (needs JDK 1.5)
- // XXX enable for 1.7 release in 2008
- // comment out if you need this and have JDK 1.5
- // if (_connectTimeout>=0) connection.setConnectTimeout( _connectTimeout );
- // if (_readTimeout>=0) connection.setReadTimeout( _readTimeout );
+ // comment the next two line if you do not need this and have JDK <1.5
+ if (_connectTimeout>=0) connection.setConnectTimeout( _connectTimeout );
+ if (_readTimeout>=0) connection.setReadTimeout( _readTimeout );
if (HttpUnitOptions.isLoggingHttpHeaders()) {
String urlString = request.getURLString();
System.out.println( "\nConnecting to " + request.getURL().getHost() );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|