Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3342

Non-standard method in bad request can cause crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3.0
    • Core

    Description

      Fix is to check for a normal sort of method (that would actually need a cache lookup) in HttpTransact::HandleCacheOpenReadMiss() to do

           s->cache_info.action = CACHE_DO_NO_ACTION;
      

      instead of

           s->cache_info.action = CACHE_PREPARE_TO_WRITE;
      

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

      Attachments

        1. TS-3342.diff
          1 kB
          William Bardwell

        Activity

          People

            wbardwel William Bardwell
            wbardwel William Bardwell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: