tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r930711 - /tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
Date Sun, 04 Apr 2010 16:26:51 GMT
Author: markt
Date: Sun Apr  4 16:26:51 2010
New Revision: 930711

URL: http://svn.apache.org/viewvc?rev=930711&view=rev
Log:
Fix the immediate problem described in https://issues.apache.org/bugzilla/show_bug.cgi?id=48648
Still need review remainder of bug report

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=930711&r1=930710&r2=930711&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Sun Apr  4 16:26:51 2010
@@ -848,7 +848,7 @@ public class AprEndpoint extends Abstrac
             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);



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


Mime
View raw message