You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2007/08/05 21:25:29 UTC
[jira] Created: (HTTPCORE-109) Improve shutdown process of the I/O
reactors in NIO extensions
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-beta1
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
[jira] Resolved: (HTTPCORE-109) Improve shutdown process of the I/O
reactors in NIO extensions
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ 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