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

Should we replace ptr_len_cmp() with memcmp() consistently?

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: Core
    • Labels:

      Description

      In most places, we already use memcmp(), but we have our own implementation / wrapper named ptr_len_cmp(), which is used in a few places. This seems rather inconsistent, so either we use ptr_len_cmp() consistently, or just use memcmp() across the board.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tstroh Tyler Stroh
                Reporter:
                zwoop Leif Hedstrom
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: