Hi,

We need to expose several client request SSL stats that are currently
being gathered in the HttpSM to the Lua plugin. To achieve this I'd
like to propose adding several functions to the API:

int TSHttpTxnClientReqIsSslReused(TSHttpTxn txnp);
const char *TSHttpTxnClientReqSslCipherGet(TSHttpTxn txnp);
const char *TSHttpTxnClientReqSslProtocolGet(TSHttpTxn txnp);
const char *TSHttpTxnClientReqSslCurveGet(TSHttpTxn txnp);

These API calls would expose the following HttpSM attributes:
bool client_ssl_reused;
const char *client_cipher_suite = "-";
const char *client_sec_protocol = "-";
const char *client_curve; // Implemented as part of
https://github.com/apache/trafficserver/pull/5724/


An implementation has been already drafted as part of
https://github.com/apache/trafficserver/pull/5726/

Best Regards,
Valentín Gutiérrez

Reply via email to