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

Function TSHttpHdrCreate

src/api/InkAPI.cc:2513–2522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2511/***********/
2512
2513TSMLoc
2514TSHttpHdrCreate(TSMBuffer bufp)
2515{
2516 sdk_assert(sdk_sanity_check_mbuffer(bufp) == TS_SUCCESS);
2517
2518 HTTPHdr h;
2519 h.m_heap = (reinterpret_cast<HdrHeapSDKHandle *>(bufp))->m_heap;
2520 h.create(HTTP_TYPE_UNKNOWN);
2521 return reinterpret_cast<TSMLoc>(h.m_http);
2522}
2523
2524void
2525TSHttpHdrDestroy(TSMBuffer bufp, TSMLoc obj)

Callers 15

handleFetchEventsFunction · 0.85
HeadersStateMethod · 0.85
handleEventMethod · 0.85
GeneratorHttpHeaderMethod · 0.85
initMethod · 0.85
initMethod · 0.85
handleFetchEventMethod · 0.85
populateFromMethod · 0.85
HttpParserMethod · 0.85
StaticHitHttpHeaderMethod · 0.85

Calls 2

sdk_sanity_check_mbufferFunction · 0.85
createMethod · 0.45