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

Function InterceptContCreate

example/plugins/c-api/intercept/intercept.cc:210–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208};
209
210static TSCont
211InterceptContCreate(TSEventFunc hook, TSMutex mutexp, void *data)
212{
213 TSCont contp = TSContCreate(hook, mutexp);
214 TSReleaseAssert(contp);
215
216 TSContDataSet(contp, data);
217 return contp;
218}
219
220static bool
221InterceptShouldInterceptRequest(TSHttpTxn txn)

Callers 2

InterceptTxnHookFunction · 0.85
TSPluginInitFunction · 0.85

Calls 2

TSContCreateFunction · 0.85
TSContDataSetFunction · 0.85

Tested by

no test coverage detected