Hi folks,
Is there a way (preferably plugin visible public API) to learn if there is
an event pending for some arbitrary hook given a transaction?
For example, if one was to invoke:
TSHttpHookAdd(TS_HTTP_TXN_CLOSE_HOOK, cont);
OR
TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, cont);
is there a way to learn if there is already pending TS_EVENT_HTTP_TXN_CLOSE
event for that particular transaction before or after adding a hook? Or
even, when handling the event.
I hope my question makes sense. I would appreciate anyone's assistance.
Regards,
-A