jira-importer opened a new issue, #872: URL: https://github.com/apache/httpcomponents-core/issues/872
**[Dmitry Potapov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hirthwork)** opened **[HTTPCORE-378](https://issues.apache.org/jira/browse/HTTPCORE-378?redirect=false)** and commented Currently expired entries are closed at AbstractConnPool.getPoolEntryBlocking:230. If connections have non-zero SO_LINGER enabled this will cause other threads to wait up to SO_LINGER seconds. Unfortunately same reentrant lock is already held by PoolEntryFuture.get(), so list of pool entries to be closed must be accumulated but some external queue and processed by additional thread. There is workaround for this issue for http-clients: apply patches from [HTTPCORE-377](https://issues.apache.org/jira/browse/HTTPCORE-377) and [HTTPCLIENT-1497](https://issues.apache.org/jira/browse/HTTPCLIENT-1497) and set SocketConfig.setSoLinger(0). Since this issue has workaround, I suggest to consider this issue as very low priority one. --- **Affects:** 4.3.2 -- 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]
