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

Function h2_req_add_header

modules/http2/h2_util.c:1766–1778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1764}
1765
1766apr_status_t h2_req_add_header(apr_table_t *headers, apr_pool_t *pool,
1767 const char *name, size_t nlen,
1768 const char *value, size_t vlen,
1769 h2_hd_scratch *scratch, int *pwas_added)
1770{
1771 nghttp2_nv nv;
1772
1773 nv.name = (uint8_t*)name;
1774 nv.namelen = nlen;
1775 nv.value = (uint8_t*)value;
1776 nv.valuelen = vlen;
1777 return req_add_header(headers, pool, &nv, scratch, pwas_added);
1778}
1779
1780/*******************************************************************************
1781 * frame logging

Callers 2

set_h1_headerFunction · 0.85
h2_request_add_headerFunction · 0.85

Calls 1

req_add_headerFunction · 0.85

Tested by

no test coverage detected