You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/05/23 00:03:02 UTC

[jira] [Updated] (TS-2236) fabricate_with_old_api adds zero byte at the end of the response body

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

Leif Hedstrom updated TS-2236:
------------------------------

    Fix Version/s:     (was: 5.0.0)
                   sometime

> fabricate_with_old_api adds zero byte at the end of the response body
> ---------------------------------------------------------------------
>
>                 Key: TS-2236
>                 URL: https://issues.apache.org/jira/browse/TS-2236
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: portl4t
>            Assignee: Leif Hedstrom
>             Fix For: sometime
>
>
> When ts decides to response error to ua, fabricate_with_old_api(...) will be called, and sometimes internal_msg_buffer_size will be set as strlen(internal_msg_buffer) + 1, including the last zero byte, so the client will receive a response which has a zero byte at the end of the body, should we remove the last zero byte?



--
This message was sent by Atlassian JIRA
(v6.2#6252)