From: fhanik Date: Tue, 9 Dec 2008 23:13:26 +0000 (+0000) Subject: oops, must return false, or a leak will happen X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=acc1d5de417cad9e15630a7a91075f66dfd0ee5a;p=tomcat7.0 oops, must return false, or a leak will happen git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724926 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index 3699ca8d4..108d4e267 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -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