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

PATCH: teach TSHostLookup to use const

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.2
    • DNS
    • None

    Description

      This patch improves the TSHostLookup() API by specifying it's hostname argument as const. This reduces the number of casts required of plugin authors.

      The new prototype is:

      tsapi TSAction TSHostLookup(TSCont contp, const char* hostname, size_t namelen)

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            jamespeach James Peach
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: