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

DefaultHttpRequestRetryStrategy has no timeout on retryafter header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0.3
    • 5.1
    • None
    • None

    Description

      In DefaultHttpRequestRetryStrategy.java:207 value of the HTTP retry header of the failed server is reused as is by HttpRequestRetryExec:143 to sleep the thread.

      A server returning a very far retry after header is able to block httpclient request indefinetly by default (and even if proper connect, connection and response timeouts have been set).

      Attachments

        Activity

          People

            Unassigned Unassigned
            pierz Pierre N.
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: