Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.5.4, 5.0 Alpha3
-
None
Description
HttpClientBuilder and HttpAsyncClientBuilder have an evictExpiredConnections method that is supposed to allow configuring a client that will evict expired connections.
When evictExpiredConnections is used alongside evictIdleConnections, everything is fine.
However, if evictExpiredConnections is used without evictIdleConnections, currently the builder will default to also providing the evictIdleConnections behaviour (defaulting to evicting idle connections after 10 seconds).
The correct behaviour in this case is to only provide the evictExpiredConnections behaviour and not the evictIdleConnections behaviour.
Attachments
Issue Links
- breaks
-
HTTPCLIENT-1583 Add option to create a connection eviction thread for a non-shared connection manager
- Closed
- links to