[
https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035946#comment-13035946
]
Leif Hedstrom commented on TS-621:
----------------------------------
So, I haven't had a chance to properly play with this, but I suspect this code
in ClusterCache.cc:CacheContinuation::VCdataRead() might be part of the problem:
{code}
switch (event) {
case VC_EVENT_EOS:
{
if (!target_vio->ndone) {
// Doc with zero byte body, handle as read failure
goto read_failed;
}
// Fall through
}
{code}
But, now I'm off to watch hockey, go sharks!
> 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
> Assignee: John Plevyak
> Fix For: 2.1.9
>
> Attachments: ts-621-jp-1.patch, ts-621-jp-2.patch, ts-621-jp-3.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira