You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "portl4t (JIRA)" <ji...@apache.org> on 2013/09/18 09:10:51 UTC

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

portl4t created TS-2236:
---------------------------

             Summary: 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


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