[
https://issues.apache.org/jira/browse/TS-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Diane Smith resolved TS-258.
----------------------------
Resolution: Fixed
added info to "HTTP Transaction Functions" section of SDK
> Add INKHttpTxnCacheLookupStatusSet to sdk documentation
> -------------------------------------------------------
>
> Key: TS-258
> URL: https://issues.apache.org/jira/browse/TS-258
> Project: Traffic Server
> Issue Type: Bug
> Components: Documentation
> Reporter: Miles Libbey
> Assignee: Diane Smith
> Priority: Minor
>
> From Raghav:
> INKHttpTxnCacheLookupStatusSet
> Where it should live : HTTP transaction Functions
> What it does : Sets the cache lookup status to whatever is passed in
> Prototype :
> int INKHttpTxnCacheLookupStatusSet (INKHttpTxn txnp, int lookup_status);
> Description :
> Sets the status of the current cache lookup for the ongoing transaction txnp
> to whatever is specified in the lookup_status variable. Changing the status
> from INK_CACHE_LOOKUP_MISS is not allowed.
> Use case : Stale while revalidate plugin has to serve stale data from the
> cache while it makes a request for new data asynchronously. The plugin forces
> the core to serve stale data by setting the cache lookup status to
> INK_CACHE_LOOKUP_HIT_FRESH.
> Returns :
> 0 on error
> 1 on success
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.