- JIRA ticket: TS-3683 ( https://issues.apache.org/jira/browse/TS-3683 )
- While metrics/statistics provide an aggregated result, we want to improve
our
analysis on a per-request basis, possibly running map reduce tasks to
precisely
correlates this cache hit/reuse to other numbers. In our usage,
SSL Session/Ticket Cache is implemented in a plugin, and while we
provide the patch to allow core to implement that cache/hit internally, we
need the API change for our version to work.
- An additional function would be added to ts.h:
tsapi void TSNetVConnSSLCachedHitSet(TSVConn vc, bool state);
it will also require to #include <stdbool.h> in lib/ts/apidefs.h.in
- TSVConn vc: represents the SSLNetVConnection we want to access.
- bool state: true to indicate that SSL connection was retrieved from
session
cache or a SSL ticket was positively verified.
API change is included into the following pull request:
https://github.com/apache/trafficserver/pull/218/files
Thanks,
- Francois