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

Function TSRemapDoRemap

plugins/multiplexer/ats-multiplexer.cc:177–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177TSRemapStatus
178TSRemapDoRemap(void *i, TSHttpTxn t, TSRemapRequestInfo * /* r ATS_UNUSED */)
179{
180 assert(i != nullptr);
181 assert(t != nullptr);
182 const Instance *const instance = static_cast<const Instance *>(i);
183
184 if (!instance->origins.empty() && !TSHttpTxnIsInternal(t)) {
185 DoRemap(*instance, t);
186 } else {
187 Dbg(dbg_ctl, "Skipping transaction %p", t);
188 }
189
190 return TSREMAP_NO_REMAP;
191}

Callers

nothing calls this directly

Calls 3

TSHttpTxnIsInternalFunction · 0.85
DoRemapFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected