jira-importer opened a new issue, #875: URL: https://github.com/apache/httpcomponents-core/issues/875
**[Dmitry Potapov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hirthwork)** opened **[HTTPCORE-379](https://issues.apache.org/jira/browse/HTTPCORE-379?redirect=false)** and commented Currently, HttpAsyncService.exception(...) closes connection if response is already submitted. On TCP RST packet received all futher attempts to write into socket will result in IOException, but SelectionKey.readyOps() won't be changed. So, if connection output buffer has some unsent data, BaseIOReactor.writable() will be called again and again, but no data will be written, so reactor thread will stuck. I suggest to shutdown connection if IOException occured, this will save from infinite calls to BaseIOReactor.writable() --- **Affects:** 4.3.2 **Attachments:** - [NHttpServer.java](https://issues.apache.org/jira/secure/attachment/12642129/NHttpServer.java) (_5.30 kB_) - [shutdown-on-IOException.patch](https://issues.apache.org/jira/secure/attachment/12642130/shutdown-on-IOException.patch) (_894 bytes_) **Backported to:** [4.3.3](https://github.com/apache/httpcomponents-core/milestone/35?closed=1) -- 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]
