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

API: Cached URL MLocs prevent the HttpSM from detecting Url Changes.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core, CPP API, TS API
    • Labels:
      None

      Description

      The HttpSM contains a cached version of the client request url to avoid re-generating strings repeatedly. The problem is that if a plugin caches the MLoc and MBuf they can modify the URL without the cached copy being updated. Unfortunantely, moving the dirty flag into UrlImpl would be incredibly messy, so I will propose that after api callouts are complete we mark the cached url as dirty. It seems like the only reasonable approach that has minimal performance impact while maintaining the caching.

        Attachments

          Activity

            People

            • Assignee:
              briang Brian Geffon
              Reporter:
              briang Brian Geffon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: