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

clean up APIs for setting a request or response as being cacheable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.8
    • 2.1.9
    • TS API
    • None

    Description

      redundant Set in the name function name for the Set*CacheableSet and not having the ability to turn off caching from the API:
      TSHttpTxnSetReqCacheableSet(TSHttpTxn txnp)
      TSHttpTxnSetRespCacheableSet(TSHttpTxn txnp)

      should be:
      TSHttpTxnReqCacheableSet(TSHttpTxn txnp, int flag)
      TSHttpTxnRespCacheableSet(TSHttpTxn txnp, int flag)

      to be like other API function prototypes:
      TSSkipRemappingSet(TSHttpTxn txnp, int flag);

      Attachments

        Activity

          People

            bcall Bryan Call
            bcall Bryan Call
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: