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:03 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14006521#comment-14006521 ] 

Leif Hedstrom commented on TS-2236:
-----------------------------------

I can't see / find where this is, I'm moving this out and reassigning to the original author. Maybe you can point to where this is, or even better, submit a patch :). Then just reassign it to me.

> 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: portl4t
>             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)