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

Revisit TSRemapOSResponse

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: Core, Plugins, Remap API, TS API
    • Labels:
      None

      Description

      I looked at TSRemapOSResponse. This is a remap callback that is invoked synchronously in HttpTransact::handle_response_from_server() and gets passed a ServerState_t value.

      Note that there is no TSAPI analog for ServerState_t.

      The main difference between TSRemapOSResponse is that connection retries will be visible to TSRemapOSResponse. It's not that clear to me whether we have enough API for that to be interesting.

      This ticket is to investigate the utility of TSRemapOSResponse. If it is really helpful, then we should support it as a proper hook (global and transaction). If it's not then consider removing it.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: