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

header_rewrite: Modify the Resource object to be non-const

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Plugins

    Description

      If we make the Resource object mutable (it's per transaction / evaluation), we can move some state into it for evaluation. In addition to fixing a tiny race condition in the RAND operator, we can then also "cache" intermediate results, that might be computationally expensive (such as Maxmind GeoIP lookups).

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: