Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4921

Safe HTTP methods should be retryable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: Core, HTTP
    • Labels:
      None

      Description

      In HttpTransact::is_request_retryable, nothing seems to be retryable if you have sent any bytes. Following the RFCs, the default behaviour should allow safe (and also idempotent) method requests to be retried regardless of thether bytes were sent.

      "safe" methods (https://tools.ietf.org/html/rfc7231#section-4.2.1): GET HEAD

      From conversations, it sounds like the ideal approach is to create a config option (which is transaction overrideable) which allows you to define the list of methods which are retryable (which wouldn't be limited to the well-known methods inside ATS).

        Attachments

          Activity

            People

            • Assignee:
              jacksontj Thomas Jackson
              Reporter:
              jamespeach James Peach
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: