Add plugin APIs to allow for Transaction "private" data
-------------------------------------------------------
Key: TS-504
URL: https://issues.apache.org/jira/browse/TS-504
Project: Traffic Server
Issue Type: New Feature
Components: InkAPI
Reporter: Leif Hedstrom
This is similar to the existing INKHttpTxnSetArg() / INKHttpTxnGetArg() APIs,
except we should use an identifier for the data similar to TS-503. E.g.
INKReturnCode INKTxnDataSet(INKHttpTxn txnp, int64 id, void* data);
void* INKTxnnDataGet(INKHttpTxn txnp, int64 id);
The difference is that a) these IDs are unique, and registered via the same API
as used for INKSsnDataSet() and b) they do not have a limit on the number of
entities / data that we can store.
Once this is done, the old SetArg / GetArg() APIs should be deprecated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.