jira-importer opened a new issue, #990: URL: https://github.com/apache/httpcomponents-core/issues/990
**[silver9886](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=silver9886)** opened **[HTTPCORE-480](https://issues.apache.org/jira/browse/HTTPCORE-480?redirect=false)** and commented change the code in org.apache.http.impl.nio.reactor.BaseIOReactor: if( (currentTime - this.lastTimeoutCheck) >= this.timeoutCheckInterval) -> if( (currentTime - this.lastTimeoutCheck) >= this.timeoutCheckInterval + 2) because :the code will run for a time and network tranport expend the time too. So currentTime - this.lastTimeoutCheck should be larger than selectTimeout in order to check timeout. In this case , This will make the code more efficiency. --- **Affects:** 4.4.6 **Attachments:** - [AbstractIOReactor-change.png](https://issues.apache.org/jira/secure/attachment/12880036/AbstractIOReactor-change.png) (_37.17 kB_) - [BaseIOReactor-add class.png](https://issues.apache.org/jira/secure/attachment/12880034/BaseIOReactor-add+class.png) (_18.24 kB_) - [BaseIOReactor-change.png](https://issues.apache.org/jira/secure/attachment/12880035/BaseIOReactor-change.png) (_22.58 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]
