[Webfunds-commits] java/webfunds/utils RawHttp.java
Ian Grigg
iang@cypherpunks.ai
Fri, 6 Oct 2000 21:12:03 -0400 (AST)
iang 00/10/06 21:12:03
Modified: webfunds/utils RawHttp.java
Log:
30 seconds not 10, some basic connections take that long, don't know why
Revision Changes Path
1.6 +4 -2 java/webfunds/utils/RawHttp.java
Index: RawHttp.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/utils/RawHttp.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- RawHttp.java 2000/08/30 22:34:26 1.5
+++ RawHttp.java 2000/10/07 01:12:03 1.6
@@ -1,5 +1,5 @@
/*
- * $Id: RawHttp.java,v 1.5 2000/08/30 22:34:26 iang Exp $
+ * $Id: RawHttp.java,v 1.6 2000/10/07 01:12:03 iang Exp $
*
* Copyright (c) 2000 Systemics Inc on behalf of
* the WebFunds Development Team. All Rights Reserved.
@@ -80,10 +80,12 @@
//
// This is most unsatisfactory.
// Can't set the timeout on the connect!
+ // Hmm, this is a socket problem, not a Java problem.
+ //
// Note that this sets the timeout for each read, not them all.
//
try {
- sock.setSoTimeout(10 * 1000);
+ sock.setSoTimeout(30 * 1000);
sock.setTcpNoDelay(true);
} catch (SocketException ex) {
ex.printStackTrace();