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

Expose HttpDebugNames to public plugin APIs

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • TS API

    Description

      It'd be really useful to expose all the HttpDebugNames:: functions into one (or several?) API calls.

      Either

      const char* TSGetDebugName(type, ID);
      

      where type would be a new enum of e.g.
      typedef enum
      {
      TS_DEBUG_STATE_NAME,
      TS_DEBUG_METHOD_NAME,
      TS_DEBUG_EVENT_NAME,
      ...
      } TSDebugNameID;
      or perhaps

      const char* TSGetDebugStateName(id);
      const char* TSGetDebugMethodName(id);
      ...
      

      I personally favor the former, it's more easily extended with future additions.

      Attachments

        Issue Links

          Activity

            People

              zwoop Leif Hedstrom
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: