From 3710f68fdb0744ea917f901f2d00d7cd35bbcd44 Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 4 Apr 2010 16:26:51 +0000 Subject: [PATCH] Fix the immediate problem described in https://issues.apache.org/bugzilla/show_bug.cgi?id=48648 Still need review remainder of bug report git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@930711 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/tomcat/util/net/AprEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/net/AprEndpoint.java b/java/org/apache/tomcat/util/net/AprEndpoint.java index df00a6c8d..1d80e7445 100644 --- a/java/org/apache/tomcat/util/net/AprEndpoint.java +++ b/java/org/apache/tomcat/util/net/AprEndpoint.java @@ -848,7 +848,7 @@ public class AprEndpoint extends AbstractEndpoint { pool = Pool.create(serverSockPool); int size = pollerSize / pollerThreadCount; int timeout = getKeepAliveTimeout(); - if (timeout < 0) { + if (timeout <= 0) { timeout = socketProperties.getSoTimeout(); } serverPollset = allocatePoller(size, pool, timeout); -- 2.11.0