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

Function stats_process_accept

plugins/stats_over_http/stats_over_http.cc:254–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254static void
255stats_process_accept(TSCont contp, stats_state *my_state)
256{
257 my_state->req_buffer = TSIOBufferCreate();
258 my_state->resp_buffer = TSIOBufferCreate();
259 my_state->resp_reader = TSIOBufferReaderAlloc(my_state->resp_buffer);
260 my_state->read_vio = TSVConnRead(my_state->net_vc, contp, my_state->req_buffer, INT64_MAX);
261}
262
263static int
264stats_add_data_to_resp_buffer(const char *s, stats_state *my_state)

Callers 1

stats_dostuffFunction · 0.85

Calls 3

TSIOBufferCreateFunction · 0.85
TSIOBufferReaderAllocFunction · 0.85
TSVConnReadFunction · 0.85

Tested by

no test coverage detected