MCPcopy Create free account
hub / github.com/apache/httpd / h2_headers_create

Function h2_headers_create

modules/http2/h2_headers.c:119–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117
118
119h2_headers *h2_headers_create(int status, const apr_table_t *headers_in,
120 const apr_table_t *notes, apr_off_t raw_bytes,
121 apr_pool_t *pool)
122{
123 h2_headers *headers = apr_pcalloc(pool, sizeof(h2_headers));
124 headers->status = status;
125 headers->headers = (headers_in? apr_table_clone(pool, headers_in)
126 : apr_table_make(pool, 5));
127 headers->notes = (notes? apr_table_clone(pool, notes)
128 : apr_table_make(pool, 5));
129 return headers;
130}
131
132static int add_header_lengths(void *ctx, const char *name, const char *value)
133{

Callers 7

pass_responseFunction · 0.85
h2_headers_rcreateFunction · 0.85
h2_headers_copyFunction · 0.85
h2_headers_cloneFunction · 0.85
make_valid_respFunction · 0.85
make_invalid_respFunction · 0.85
close_inputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected