jira-importer opened a new issue, #1004: URL: https://github.com/apache/httpcomponents-core/issues/1004
**[silver9886](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=silver9886)** opened **[HTTPCORE-486](https://issues.apache.org/jira/browse/HTTPCORE-486?redirect=false)** and commented in processPendingChannels method while ((socketChannel = this.channelQueue.poll()) != null) { } do not have the time limit.If there are too many socketChannel in the channelQueue or there is channelQueue.add in the loop,the SingleCoreIOReactor time will be exhausted .That's will block the remaining work to do. I suggest using the following code: for (int i = 0 ;i < 100000 && (socketChannel = this.channelQueue.poll()) != null;++i) { } the processPendingConnectionRequests method is the same --- **Affects:** 5.0-alpha3 **Remote Links:** - [GitHub Pull Request `#50` ](https://github.com/apache/httpcomponents-core/pull/50) -- 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]
