[
https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285545#comment-13285545
]
kuotai commented on TS-621:
---------------------------
In http procotol, we verify receiving remote response only by Content-Length or
chunk. so if body length is 0 and no Content-Length, we can`t verify receiving
all response data. one selection, we suppose receiving all reponse data; the
other, we suppose not receiving all with some tcp errors. In most cases, we can
cached response which only having length info.
> writing 0 bytes to the HTTP cache means only update the header... need a new
> API: update_header_only() to allow 0 byte files to be cached
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TS-621
> URL: https://issues.apache.org/jira/browse/TS-621
> Project: Traffic Server
> Issue Type: Improvement
> Components: Cache
> Affects Versions: 2.1.5
> Reporter: John Plevyak
> Fix For: 3.3.0
>
> Attachments: TS-621_cluster_zero_size_objects.patch,
> force_empty.diff, ts-621-jp-1.patch, ts-621-jp-2.patch, ts-621-jp-3.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira