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/02/25 22:11:22 UTC

[jira] [Assigned] (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 reassigned TS-2236:
---------------------------------

    Assignee: Leif Hedstrom

> 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: 5.0.0
>
>
> 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.1.5#6160)