Nevermind, I think I see now that the continuations on a hook are serialized. Submitted https://github.com/apache/trafficserver/pull/4707 since this unused code got me confused.
On Thu, Dec 13, 2018 at 2:35 PM Walt Karas <[email protected]> wrote: > Can anyone explain the mutual exclusion mechanism when different plugins > call TSHttpTxnHookAdd() for the same hook on the same transaction? > > On Thu, Dec 13, 2018 at 12:15 PM xuchao@Gmail <[email protected]> wrote: > >> yes! >> >> The TSHttpHookAdd() should _only_ and _always_ be >> called from TSPluginInit() or TSRemapInit(). >> >> - oknet >> >> 发自我的 iPhone >> >> > 在 2018年12月13日,23:42,Walt Karas <[email protected]> 写道: >> > >> > TSHttpHookAdd() should _only_ be >> > called from TSPluginInit() or TSRemapInit(). >> >
