You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "William Bardwell (JIRA)" <ji...@apache.org> on 2015/01/28 22:04:34 UTC

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

William Bardwell created TS-3342:
------------------------------------

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


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)