You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/01/12 16:13:18 UTC

[tomcat] 01/03: Reduce default timeouts for test client from infinite to 5 seconds.

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 0256b1d0592314d2ecadec4f0edabecef4c4b787
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jan 12 13:57:33 2022 +0000

    Reduce default timeouts for test client from infinite to 5 seconds.
---
 test/org/apache/catalina/startup/SimpleHttpClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/startup/SimpleHttpClient.java b/test/org/apache/catalina/startup/SimpleHttpClient.java
index b0ba161..c5d4843 100644
--- a/test/org/apache/catalina/startup/SimpleHttpClient.java
+++ b/test/org/apache/catalina/startup/SimpleHttpClient.java
@@ -199,7 +199,7 @@ public abstract class SimpleHttpClient {
         reader = new BufferedReader(r);
     }
     public void connect() throws UnknownHostException, IOException {
-        connect(0,0);
+        connect(5000, 5000);
     }
 
     protected OutputStream createOutputStream(Socket socket) throws IOException {

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org