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

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • 8.0.0
    • HTTP

    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

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

            Dates

              Created:
              Updated: