Author: remm
Date: Mon Jun 26 10:48:32 2006
New Revision: 417257

URL: http://svn.apache.org/viewvc?rev=417257&view=rev
Log:
- Catch everything, as any unexpected exception would kill the server.

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

Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=417257&r1=417256&r2=417257&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Mon 
Jun 26 10:48:32 2006
@@ -1187,7 +1187,7 @@
                 int keyCount = 0;
                 try {
                     keyCount = selector.select(selectorTimeout);
-                } catch (IOException x) {
+                } catch (Throwable x) {
                     log.error("",x);
                     continue;
                 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to