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

Function TSRemapDoRemap

plugins/slice/slice.cc:306–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304///// remap plugin engine
305
306TSRemapStatus
307TSRemapDoRemap(void *ih, TSHttpTxn txnp, TSRemapRequestInfo * /* rri ATS_UNUSED */)
308{
309 PluginInfo *const info = static_cast<PluginInfo *>(ih);
310
311 if (read_request(txnp, &info->config, info->read_resp_hdr_contp)) {
312 return TSREMAP_DID_REMAP_STOP;
313 } else {
314 return TSREMAP_NO_REMAP;
315 }
316}
317
318///// remap plugin setup and teardown
319void

Callers

nothing calls this directly

Calls 1

read_requestFunction · 0.70

Tested by

no test coverage detected