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 2011/05/17 03:32:47 UTC

[jira] [Issue Comment Edited] (TS-621) 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

    [ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034490#comment-13034490 ] 

Leif Hedstrom edited comment on TS-621 at 5/17/11 1:32 AM:
-----------------------------------------------------------

Took a quick look at this, nothing obvious comes to mind, yet. I did notice the event (VC_EVENT_WRITE_COMPLETE) originates from UnixNetVConnection.cc:476:

{code}
    if (s->vio.ntodo() <= 0) {
      write_signal_done(VC_EVENT_WRITE_COMPLETE, nh, vc);
      return;
    } else if (!signalled) {
{code}

      was (Author: zwoop):
    Took a quick look at this, nothing obvious comes to mind, yet. I did notice the event (VC_EVENT_WRITE_COMPLETE) originates from UnixNetVConnection.cc:476:

    if (s->vio.ntodo() <= 0) {
      write_signal_done(VC_EVENT_WRITE_COMPLETE, nh, vc);
      return;
    } else if (!signalled) {

  
> 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
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira