Github user SolidWallOfCode commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/967#discussion_r78302162
--- Diff: lib/atscppapi/src/utils_internal.cc ---
@@ -99,6 +97,8 @@ handleTransactionEvents(TSCont cont, TSEvent event, void
*edata)
void
setupTransactionManagement()
{
+ // Reserve a transaction slot
+ TSAssert(TS_SUCCESS == TSHttpArgIndexReserve("atscppapi", "ATS CPP API",
&TRANSACTION_STORAGE_INDEX));
--- End diff --
I think the problem with `GlobalPlugin::GlobalPlugin` is it can be called
multiple times, once for each global plugin defined. I think only one
transaction arg is required, though, for all global plugins.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---