You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Simon (Jira)" <ji...@apache.org> on 2019/10/31 10:57:00 UTC

[jira] [Created] (HTTPCLIENT-2021) Can not interrupt a request with thread.interrupt (hystrix)

Simon created HTTPCLIENT-2021:
---------------------------------

             Summary: Can not interrupt a request with thread.interrupt (hystrix)
                 Key: HTTPCLIENT-2021
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2021
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient (classic)
            Reporter: Simon


I send a POST request in an [Hystrix|https://github.com/Netflix/Hystrix/wiki] command.

Hystrix is able to abort the command if the result is not get in a given amount of time.
 This is possible to interrupt the thread which execute the command on this timeout. (Releasing thread sooner instead of letting it finished its job)

But it seems this does not really do anything with httpclient :(.

Here you can find a [stackoverflow thread|https://stackoverflow.com/questions/38077687/hystrix-apache-http-client-requests-are-not-interrupted] about that.

(I tested with the current version I use 4.5.2 and the last 4.5.10, same behavior)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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