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

Function TSRemapDoRemap

plugins/compress/compress.cc:1259–1271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1257}
1258
1259TSRemapStatus
1260TSRemapDoRemap(void *instance, TSHttpTxn txnp, TSRemapRequestInfo * /* rri ATS_UNUSED */)
1261{
1262 if (nullptr == instance) {
1263 info("No Rules configured, falling back to default");
1264 } else {
1265 info("Remap Rules configured for compress");
1266 Configuration *config = static_cast<Configuration *>(instance);
1267 // Handle compress request and use the configs populated from remap instance
1268 handle_request(txnp, config);
1269 }
1270 return TSREMAP_NO_REMAP;
1271}

Callers

nothing calls this directly

Calls 1

handle_requestFunction · 0.85

Tested by

no test coverage detected