oops, must return false, or a leak will happen
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 9 Dec 2008 23:13:26 +0000 (23:13 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 9 Dec 2008 23:13:26 +0000 (23:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724926 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/NioEndpoint.java

index 3699ca8..108d4e2 100644 (file)
@@ -1139,6 +1139,7 @@ public class NioEndpoint {
             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