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

Function StaticHitRequestDestroy

plugins/statichit/statichit.cc:253–262  ·  view source on GitHub ↗

Destroy a StaticHitRequest, including the per-txn continuation.

Source from the content-addressed store, hash-verified

251
252// Destroy a StaticHitRequest, including the per-txn continuation.
253static void
254StaticHitRequestDestroy(StaticHitRequest *trq, TSVIO vio, TSCont contp)
255{
256 if (vio) {
257 TSVConnClose(TSVIOVConnGet(vio));
258 }
259
260 TSContDestroy(contp);
261 delete trq;
262}
263
264// NOTE: This will always append a new "field_name: value"
265static void

Callers 1

StaticHitInterceptHookFunction · 0.85

Calls 3

TSVConnCloseFunction · 0.85
TSVIOVConnGetFunction · 0.85
TSContDestroyFunction · 0.85

Tested by

no test coverage detected