[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960924#comment-15960924
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1838:
-----------------------------------------------

I am sorry but what is it exactly are we expected to do about this issue?

Oleg

> HttpClient leaves connection in CLOSE_WAIT in a multithreaded environment
> -------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1838
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1838
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (classic)
>    Affects Versions: 4.5.3
>         Environment: Centos6.3. Apache HttpClient 4.5.3. 
>            Reporter: kumaran
>             Fix For: 4.5.4
>
>         Attachments: CvHttpClientImpl.txt
>
>
> We use HttpClient for all our internal http communications and below the code 
> snippet,
> val client: CloseableHttpClient = HttpClients.custom()
>                       .setConnectionManager(clientConnectionManager)
>                       .setRetryHandler(httpRequestRetryHandler)
>                       .setDefaultCredentialsProvider(basicCredentialsProvider)
>                       .evictExpiredConnections()
>                       .evictIdleConnections(5, TimeUnit.SECONDS)
>                 .build()
> Sometimes we could see a connection is created but not used and left in 
> CLOSE_WAIT state. we couldnt able to find the exact flow, since it happens 
> randomly. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to