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

Function http_hdr_create

src/proxy/hdrs/HTTP.cc:279–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277 -------------------------------------------------------------------------*/
278
279HTTPHdrImpl *
280http_hdr_create(HdrHeap *heap, HTTPType polarity, HTTPVersion version)
281{
282 HTTPHdrImpl *hh;
283
284 hh = (HTTPHdrImpl *)heap->allocate_obj(sizeof(HTTPHdrImpl), HDR_HEAP_OBJ_HTTP_HEADER);
285 http_hdr_init(heap, hh, polarity, version);
286 return (hh);
287}
288
289/*-------------------------------------------------------------------------
290 -------------------------------------------------------------------------*/

Callers 2

http_hdr_cloneFunction · 0.85
createMethod · 0.85

Calls 2

http_hdr_initFunction · 0.85
allocate_objMethod · 0.80

Tested by

no test coverage detected