Hi, I am adding a hook to get access to the ssl handshake data. I am using something like:
TSHttpHookAdd(TS_SSL_CERT_HOOK, cb_cert); In the ssl callback, I am extracting some info from the ssl connection and I'd like to save the info. I'd like to later retrieve this info when my Http hook call back is invoked. TSHttpHookAdd(TS_HTTP_SEND_REQUEST_HDR_HOOK, cont); When my HTTP hook callback is called, I get TSHttpTxn. From HttpTxn how to retrieve the saved ssl information? What is the correct way to make this work? Any help is appreciated. Thanks. Dk.