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

Function h2_res_create_ngheader

modules/http2/h2_util.c:1523–1534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1521}
1522
1523apr_status_t h2_res_create_ngheader(h2_ngheader **ph, apr_pool_t *p,
1524 ap_bucket_response *response)
1525{
1526 const char *keys[] = {
1527 ":status"
1528 };
1529 const char *values[] = {
1530 apr_psprintf(p, "%d", response->status)
1531 };
1532 return ngheader_create(ph, p, is_unsafe(response),
1533 H2_ALEN(keys), keys, values, response->headers);
1534}
1535
1536#else /* AP_HAS_RESPONSE_BUCKETS */
1537

Callers 1

h2_stream.cFile · 0.85

Calls 2

ngheader_createFunction · 0.85
is_unsafeFunction · 0.70

Tested by

no test coverage detected