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

Function GeneratorRequestDestroy

plugins/generator/generator.cc:192–201  ·  view source on GitHub ↗

Destroy a generator request, including the per-txn continuation.

Source from the content-addressed store, hash-verified

190
191// Destroy a generator request, including the per-txn continuation.
192static void
193GeneratorRequestDestroy(GeneratorRequest *grq, TSVIO vio, TSCont contp)
194{
195 if (vio) {
196 TSVConnClose(TSVIOVConnGet(vio));
197 }
198
199 TSContDestroy(contp);
200 delete grq;
201}
202
203static off_t
204GeneratorParseByteCount(const char *ptr, const char *end)

Callers 1

GeneratorInterceptHookFunction · 0.85

Calls 3

TSVConnCloseFunction · 0.85
TSVIOVConnGetFunction · 0.85
TSContDestroyFunction · 0.85

Tested by

no test coverage detected