jira-importer opened a new issue, #1113: URL: https://github.com/apache/httpcomponents-core/issues/1113
**[Asankha Chamath Perera](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=asankha)** opened **[HTTPCORE-127](https://issues.apache.org/jira/browse/HTTPCORE-127?redirect=false)** and commented Apache Synapse uses HttpCore and we would like to stop accepting new connections to put our servers into a "maintenance" mode. In this mode any in-flight requests already being served will continue as normal (i.e. reading, writing etc) but new connections should be rejected, so that a load balancer could direct new connections to another instance in the cluster. The requirement is to then update configuration, apply patches or cleanly shutdown etc. for maintenance without effecting any in-flight requests. Implementation wise I think this would be fairly straightforward as we can remove OP_ACCEPT from the interested ops. On the mailing list Odi suggested that we tackle this at a broader level by exposing lifecycle management APIs "I suggest create, start, stop, destroy methods in some classes/APIs (semantics of JBoss Service MBeans)" --- **Affects:** 4.0-alpha6 **Attachments:** - [httpcore-127.patch](https://issues.apache.org/jira/secure/attachment/12371451/httpcore-127.patch) (_5.71 kB_) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
