From 3af46e93954711bf76ca8bbc1bef1959d1c91177 Mon Sep 17 00:00:00 2001 From: remm Date: Mon, 26 Jun 2006 17:48:32 +0000 Subject: [PATCH] - Catch everything, as any unexpected exception would kill the server. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@417257 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/tomcat/util/net/NioEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index a3d1a48df..529988c66 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -1187,7 +1187,7 @@ public class NioEndpoint { int keyCount = 0; try { keyCount = selector.select(selectorTimeout); - } catch (IOException x) { + } catch (Throwable x) { log.error("",x); continue; } -- 2.11.0