hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liam Williams (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1830) IdleConnectionEvictor created by HttpClientBuilder should awaitTermination on shutdown
Date Thu, 09 Mar 2017 14:21:38 GMT
Liam Williams created HTTPCLIENT-1830:
-----------------------------------------

             Summary: IdleConnectionEvictor created by HttpClientBuilder should awaitTermination
on shutdown
                 Key: HTTPCLIENT-1830
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1830
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpClient (classic)
    Affects Versions: 4.5.2
            Reporter: Liam Williams


When calling InternalHttpClient.close via the CloseableHttpClient interface for a client created
via HttpClientBuilder, IdleConnectionEvictor.shutdown is called, but IdleConnectionEvictor.awaitTermination
is not.

This is a problem, since there is no way to await termination apart from doing a dirty sleep.

Hope this makes sense, let me know if it doesn't.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message