You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2015/12/16 16:08:46 UTC

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

     [ https://issues.apache.org/jira/browse/TS-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-2411:
--------------------------------
    Fix Version/s:     (was: 6.1.0)
                   6.2.0

> 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
>            Assignee: Alan M. Carroll
>              Labels: review
>             Fix For: 6.2.0
>
>         Attachments: TS-2411.diff
>
>
> 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.3.4#6332)