> On Dec 12, 2018, at 4:54 PM, Walt Karas <wka...@oath.com.INVALID> wrote:
>
> The documentation says that TS API functionTSHttpHookAdd() is _typically_
> called from TSPluginInit() or TSRemapInit(). The implementation of
> TSHttpHookAdd() doesn't look thread-safe, so how could it be called
> anywhere else?
I don’t think you would. For TXN or SSN continuations, you use
tsapi void TSHttpSsnHookAdd(TSHttpSsn ssnp, TSHttpHookID id, TSCont
contp);
tsapi void TSHttpTxnHookAdd(TSHttpTxn txnp, TSHttpHookID id, TSCont
contp);
— Leif