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

Function TSRemapOSResponse

example/plugins/c-api/remap/remap.cc:320–328  ·  view source on GitHub ↗

----------------------- TSRemapOSResponse ----------------------------- */

Source from the content-addressed store, hash-verified

318
319/* ----------------------- TSRemapOSResponse ----------------------------- */
320void
321TSRemapOSResponse(void *ih ATS_UNUSED, TSHttpTxn rh, int os_response_type)
322{
323 void *data = TSUserArgGet(rh, arg_index); // read counter (we store it in TSRemapDoRemap function call)
324 int request_id = data ? static_cast<int *>(data)[0] : -1;
325
326 Dbg(dbg_ctl, "Read processing counter %d from request processing block\n", request_id);
327 Dbg(dbg_ctl, "OS response status: %d\n", os_response_type);
328}

Callers

nothing calls this directly

Calls 1

TSUserArgGetFunction · 0.85

Tested by

no test coverage detected