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 2013/09/24 23:45:13 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: 4.1.0
    
> 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
>             Fix For: 4.1.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira