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

Function transform_write_body

plugins/experimental/icap/icap_plugin.cc:467–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467static int
468transform_write_body(TransformData *data)
469{
470 data->state = State::WRITE_BODY;
471 /* If debug-mode enabled, allocate buffer to store origin response */
472 if (debug_enabled) {
473 data->os_resp_buf = TSIOBufferCreate();
474 data->os_resp_reader = TSIOBufferReaderAlloc(data->os_resp_buf);
475 }
476 return 0;
477}
478
479static int
480transform_read_icap_header(TSCont contp, TransformData *data)

Callers 2

handle_write_headerFunction · 0.85

Calls 2

TSIOBufferCreateFunction · 0.85
TSIOBufferReaderAllocFunction · 0.85

Tested by

no test coverage detected