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

TS Http byte get functions does not return the true number, for server response body byte get

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 8.0.0
    • Component/s: HTTP
    • Labels:

      Description

      When using the example of null-transform, adding TS_EVENT_HTTP_TXN_CLOSE to hooks, and counting byte number, I get:

      // server -> proxy
      TSHttpTxnServerRespHdrBytesGet(txnDB);
      TSHttpTxnServerRespBodyBytesGet(txnDB);

      // proxy -> client
      TSHttpTxnClientRespHdrBytesGet(txnDB);
      TSHttpTxnClientRespBodyBytesGet(txnDB);

      1. server side response body = 0
      2. client side response body = (payload size)

      when inspecting this issue, it seems that VConnection is downloading the content but, this does not count in server response byte get

        Attachments

        1. TS-2411.diff
          2 kB
          Lars Svensson

          Activity

            People

            • Assignee:
              amc Alan M. Carroll
              Reporter:
              rogi Roee Gil
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: