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

atscppapi: Allow developers to cancel AsyncHttpFetch in specific and AsyncProviders in general

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • TS API
    • None

    Description

      Use case - if a plugin starts an async http fetch but wants to cancel it before completion (timeout or something), the options available today are

      1) setting some state in the plugin and using this to ignore the callback.
      2) delete receiver (most cases a transaction plugin).

      #1 is ugly and #2 is not possible always (there may be other things the plugin wants to do).

      Attachments

        Activity

          People

            briang Brian Geffon
            manjeshnilange Manjesh Nilange
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: