MCPcopy Create free account
hub / github.com/apache/trafficserver / cleanupTransaction

Function cleanupTransaction

src/tscpp/api/utils_internal.cc:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void
53cleanupTransaction(Transaction &transaction, TSHttpTxn ats_txn_handle)
54{
55 delete &transaction;
56 // reset the txn arg to prevent use-after-free
57 TSUserArgSet(ats_txn_handle, TRANSACTION_STORAGE_INDEX, nullptr);
58}
59
60void
61cleanupTransactionPlugin(Plugin *plugin, TSHttpTxn ats_txn_handle)

Callers 2

handleTransactionEventsFunction · 0.85
invokePluginForEventFunction · 0.85

Calls 1

TSUserArgSetFunction · 0.85

Tested by

no test coverage detected