hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCORE-109) Improve shutdown process of the I/O reactors in NIO extensions
Date Fri, 14 Sep 2007 14:59:32 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCORE-109.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 4.0-beta1)
                   4.0-alpha6

Folks,

I refactored the default I/O reactor implementations in HttpCore NIO and improved the way
they handle the shutdown process. This is especially important for ensuring proper closure
of SSL connections during the shutdown sequence.  The scope of changes is suite significant
so some additional testing / peer review would be quite welcome.

Oleg

> Improve shutdown process of the I/O reactors in NIO extensions
> --------------------------------------------------------------
>
>                 Key: HTTPCORE-109
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-109
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>            Reporter: Oleg Kalnichevski
>             Fix For: 4.0-alpha6
>
>
> Presently #shutdown methods of I/O reactors in NIO extensions simply close out all active
socket channels without calling #close methods of the corresponding connections, which effectively
represents a forcible rather a graceful termination. This is not that much of a problem for
plain connections, but is certainly sub-optimal for SSL connections.
> I/O reactors should attempt a graceful termination by giving the connections a chance
to complete their #close methods before shutting down socket channels that are still active.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message