any way to learn if an event is already scheduled?

2016-05-08 Thread Akbar Said
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 t

Re: writing plugins using atscppapi

2016-05-06 Thread Akbar Said
Figured out that you need to: ./configure --enable-cppapi when configuring the trafficserver build. But still the question remains, is using atscppapi lib to develop plugins the way of the future? On Thu, May 5, 2016 at 9:32 AM, Akbar Said wrote: > Hi folks, > > Just wanted to

writing plugins using atscppapi

2016-05-05 Thread Akbar Said
Hi folks, Just wanted to check, is using atscppapi a current or "future" way of coding plugins in trafficserver? If so, is there a proper documentation for that? I am sure one can still do it by reading the example code, and understanding the API classes. But I couldn't find any doc on how to pro