On 15/06/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]