Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2021

Can not interrupt a request with thread.interrupt (hystrix)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Invalid
    • None
    • None
    • HttpClient (classic)
    • None

    Description

      I send a POST request in an Hystrix 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 about that.

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            sbernard Simon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: