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

Function TSRemapDoRemap

tests/tools/plugins/user_args.cc:176–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176TSRemapStatus
177TSRemapDoRemap(void *ih, TSHttpTxn txnp, TSRemapRequestInfo * /* rri ATS_UNUSED */)
178{
179 ArgIndexes *ix = static_cast<ArgIndexes *>(ih);
180
181 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, ix->contp);
182 TSHttpTxnStatusSet(txnp, TS_HTTP_STATUS_MOVED_TEMPORARILY);
183
184 return TSREMAP_DID_REMAP;
185}

Callers

nothing calls this directly

Calls 2

TSHttpTxnHookAddFunction · 0.85
TSHttpTxnStatusSetFunction · 0.85

Tested by

no test coverage detected