[
https://issues.apache.org/jira/browse/TS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom updated TS-762:
-----------------------------
Fix Version/s: 2.1.9
> Range values like -10 are processed wrong
> -----------------------------------------
>
> Key: TS-762
> URL: https://issues.apache.org/jira/browse/TS-762
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP
> Affects Versions: 2.1.8, 2.1.7, 2.1.6, 2.1.5, 2.1.4
> Reporter: William Bardwell
> Assignee: Leif Hedstrom
> Fix For: 2.1.9
>
> Attachments: range-fix.diff
>
>
> A Range header like "Range: bytes=-10" should return the last 10 bytes
> instead it returns the first 10.
> The problem is the parsing is assuming that mime_parse_int64 on an empty
> string returns -1, but it returns 0.
> I will attach a patch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira