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

Function TSHttpHdrLengthGet

src/api/InkAPI.cc:2681–2692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2679}
2680
2681int
2682TSHttpHdrLengthGet(TSMBuffer bufp, TSMLoc obj)
2683{
2684 sdk_assert(sdk_sanity_check_mbuffer(bufp) == TS_SUCCESS);
2685 sdk_assert(sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS);
2686
2687 HTTPHdr h;
2688
2689 SET_HTTP_HDR(h, bufp, obj);
2690 ink_assert(h.m_http->m_type == HDR_HEAP_OBJ_HTTP_HEADER);
2691 return h.length_get();
2692}
2693
2694TSHttpType
2695TSHttpHdrTypeGet(TSMBuffer bufp, TSMLoc obj)

Callers 12

GeneratorWriteResponseFunction · 0.85
GeneratorPOSTResponseFunction · 0.85
handleFirstServerHeaderFunction · 0.85
byteSizeMethod · 0.85
request_blockFunction · 0.85
fetchMethod · 0.85
RequestMethod · 0.85
WriteResponseHeaderFunction · 0.85
WriteResponseHeaderFunction · 0.85
handle_write_headerFunction · 0.85

Calls 3

sdk_sanity_check_mbufferFunction · 0.85
length_getMethod · 0.45

Tested by 1