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

ASF subversion and git services commented on TS-2912:
-----------------------------------------------------

Commit d632e7f5d50eb27cfaf4bee384fb8f999c890a5e in trafficserver's branch 
refs/heads/master from [~taorui]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=d632e7f ]

TS-2912: Don't clear stale object on HEAD request.


> HEAD transaction on stale entry deletes cache entry
> ---------------------------------------------------
>
>                 Key: TS-2912
>                 URL: https://issues.apache.org/jira/browse/TS-2912
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: William Bardwell
>            Assignee: weijin
>              Labels: review
>             Fix For: 5.1.0
>
>         Attachments: ts-2912.try1.diff
>
>
> On a stale cache entry a HEAD gets tunneled to the origin, but when a 200 
> comes back 
> HttpTransact::handle_cache_operation_on_forward_server_response(State* s)
> deletes the cache entry, it seems like it should just ignore it (or check 
> ETag/Last-Modified and maybe delete if those don't match, but not 
> unconditionally.)
> I am seeing this with 4.2.X with a plugin fiddling with stuff, but the code 
> looks the same in trunk, line 4318 looks like the problem line.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to