From: markt Date: Sun, 4 Apr 2010 16:26:51 +0000 (+0000) Subject: Fix the immediate problem described in https://issues.apache.org/bugzilla/show_bug... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3710f68fdb0744ea917f901f2d00d7cd35bbcd44;p=tomcat7.0 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 --- 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);