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

Reply via email to