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 2015/03/10 00:35:42 UTC

[jira] [Commented] (TS-3342) Non-standard method in bad request can cause crash

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

Leif Hedstrom commented on TS-3342:
-----------------------------------

William, you going to land this?

> Non-standard method in bad request can cause crash
> --------------------------------------------------
>
>                 Key: TS-3342
>                 URL: https://issues.apache.org/jira/browse/TS-3342
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: William Bardwell
>            Assignee: William Bardwell
>              Labels: review
>             Fix For: 5.3.0
>
>         Attachments: TS-3342.diff
>
>
> Fix is to check for a normal sort of method (that would actually need a cache lookup) in HttpTransact::HandleCacheOpenReadMiss() to do
> {code}
>      s->cache_info.action = CACHE_DO_NO_ACTION;
> {code}
> instead of
> {code}
>      s->cache_info.action = CACHE_PREPARE_TO_WRITE;
> {code}
> for anything weird.  But I am concerned that this might cause problems if someone wants to add support for a weird method...but maybe that never works right with the cache anyway...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)