hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: 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:48:51 GMT
On 15/06/2008, olegk@apache.org <olegk@apache.org> wrote:
> 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

Minor nit:

s/in the/if the/

?

>  +            // reactor is an inconsistent state
>          } finally {
>              try {
>                  doShutdown();
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message