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: [email protected]
For additional commands, e-mail: [email protected]