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 2010/09/28 18:17:33 UTC

[jira] Assigned: (TS-471) We don't "set" Content-Length: header properly for > 2^31 values

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

Leif Hedstrom reassigned TS-471:
--------------------------------

    Assignee: Leif Hedstrom

> We don't "set" Content-Length: header properly for > 2^31 values
> ----------------------------------------------------------------
>
>                 Key: TS-471
>                 URL: https://issues.apache.org/jira/browse/TS-471
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.4
>
>
> If the body is a chunked encoded response, and we convert it to have a content-length header, I believe we don't produce a correct value for the CL: header. The code is
> inline void
> MIMEHdr::set_content_length(int64 value)
> {
>   value_set_int(MIME_FIELD_CONTENT_LENGTH, MIME_LEN_CONTENT_LENGTH, value);
> }
> but I'm fairly certain we want the equivalent of value_set_int64() (which doesn't exist). Marking this one for v2.1.4, since it most likely doesn't work properly for > 2^31 chunked encoded objects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.