tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r724926 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
Date Tue, 09 Dec 2008 23:13:27 GMT
Author: fhanik
Date: Tue Dec  9 15:13:26 2008
New Revision: 724926

URL: http://svn.apache.org/viewvc?rev=724926&view=rev
Log:
oops, must return false, or a leak will happen

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

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=724926&r1=724925&r2=724926&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Tue Dec  9 15:13:26 2008
@@ -1139,6 +1139,7 @@
             if (log.isDebugEnabled()) {
                 log.debug("Unable to process socket, executor rejected the task.",rx);
             }
+            return false;
         } catch (Throwable t) {
             // This means we got an OOM or similar creating a thread, or that
             // the pool and its queue are full



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


Mime
View raw message