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

HeaderFieldName::str() should return a reference

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 7.1.0
    • CPP API
    • 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

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

            Dates

              Created:
              Updated: