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

Member functions in HTTPHdr should have const modifiers appropriately

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: Cleanup
    • Labels:
      None

      Description

      Practically, we can't use HTTPHdr and MIMEHdr with const, because some member function doesn't have const unreasonably. It leads misunderstanding of API and inappropriate modification.

      We should add const to the functions.

        Attachments

          Activity

            People

            • Assignee:
              maskit Masakazu Kitajo
              Reporter:
              maskit Masakazu Kitajo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: