You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Lars Svensson (JIRA)" <ji...@apache.org> on 2014/12/25 17:00:15 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14258679#comment-14258679 ] 

Lars Svensson edited comment on TS-2411 at 12/25/14 3:59 PM:
-------------------------------------------------------------

I could not reproduce this (missing content length header issue).


was (Author: larsven):
I could not reproduce this.

> 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
>              Labels: api-change
>             Fix For: 6.0.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)