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

Body length tags have a default value of "0", should they be "-1" now?

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 8.0.0
    • Component/s: Logging
    • Labels:

      Description

      In our logging tags that provides a value for the body length, we default to 0 in the absence of a value. This is somewhat bad now, because we actually supports caching objects with a zero length body. Hence, it's not distinguishable between a zero length body entry, or one where we couldn't retrieve a body length (for whatever reason).

      I'm wondering if we should change all the defaults for all "byte counts" in logging from "0" to "-1"? This would be an incompatible change, so marking this for v5.0.0.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zwoop Leif Hedstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: