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

Function is_unsafe

modules/http2/h2_util.c:1510–1514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1508#if AP_HAS_RESPONSE_BUCKETS
1509
1510static int is_unsafe(ap_bucket_response *h)
1511{
1512 const char *v = h->notes? apr_table_get(h->notes, H2_HDR_CONFORMANCE) : NULL;
1513 return (v && !strcmp(v, H2_HDR_CONFORMANCE_UNSAFE));
1514}
1515
1516apr_status_t h2_res_create_ngtrailer(h2_ngheader **ph, apr_pool_t *p,
1517 ap_bucket_headers *headers)

Callers 2

h2_res_create_ngheaderFunction · 0.70
h2_res_create_ngtrailerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected