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

HeaderFieldName::str() should return a reference

    XMLWordPrintableJSON

    Details

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

      Description

      HeaderFieldName::str() returns a copt of the internal string. This seems unfortunate since it makes me feel bad about name.str().size(). I think returning a reference would be a better choice.

        Attachments

          Activity

            People

            • Assignee:
              briang Brian Geffon
              Reporter:
              jamespeach James Peach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: