[ https://issues.apache.org/jira/browse/HTTPASYNC-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086587#comment-17086587 ]
Oleg Kalnichevski commented on HTTPASYNC-160: --------------------------------------------- [~altaiezior] Please review https://github.com/ok2c/httpasyncclient/commit/93a24b593c79889487e9c4e946f3220b10fcb92e Oleg > InternalHttpAsyncClient doesn't close gracefully > ------------------------------------------------ > > Key: HTTPASYNC-160 > URL: https://issues.apache.org/jira/browse/HTTPASYNC-160 > Project: HttpComponents HttpAsyncClient > Issue Type: Bug > Affects Versions: 4.1.4 > Reporter: Anurag Agarwal > Priority: Minor > > InternalHttpAsyncClient:123 -> uses ensureRunning() > This checks if the status of the client is active / stopped. > Let us say a thread initiated a quested and before reaching this line, close > is called as well on the client. > Now ensureRunning call will fail but with a RuntimeException, leading to I/O > Reactor failure and it won't be a graceful shutdown of the client. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org