hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r667963 - /httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java
Date Sun, 15 Jun 2008 14:46:04 GMT
Author: olegk
Date: Sun Jun 15 07:46:04 2008
New Revision: 667963

URL: http://svn.apache.org/viewvc?rev=667963&view=rev
Log:
Added comment about ignoring ClosedSelectorException exception

Modified:
    httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java

Modified: httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java?rev=667963&r1=667962&r2=667963&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java
(original)
+++ httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java
Sun Jun 15 07:46:04 2008
@@ -181,6 +181,9 @@
             }
 
         } catch (ClosedSelectorException ex) {
+            // Ignore this exception and attempt to shut down the reactor 
+            // in an orderly fashion. An I/O exception will result in the 
+            // reactor is an inconsistent state
         } finally {
             try {
                 doShutdown();



Mime
View raw message