You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Roee Gil (JIRA)" <ji...@apache.org> on 2013/12/02 08:17:36 UTC

[jira] [Created] (TS-2411) TS Http byte get functions does not return the true number, for server response body byte get

Roee Gil created TS-2411:
----------------------------

             Summary: TS Http byte get functions does not return the true number, for server response body byte get
                 Key: TS-2411
                 URL: https://issues.apache.org/jira/browse/TS-2411
             Project: Traffic Server
          Issue Type: Bug
          Components: HTTP
            Reporter: Roee Gil


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



--
This message was sent by Atlassian JIRA
(v6.1#6144)