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

Function set_h1_header

modules/http2/h2_proxy_util.c:610–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608} h1_ctx;
609
610static int set_h1_header(void *ctx, const char *key, const char *value)
611{
612 h1_ctx *x = ctx;
613 size_t klen = strlen(key);
614 if (!h2_proxy_req_ignore_header(key, klen)) {
615 h2_headers_add_h1(x->headers, x->pool, key, klen, value, strlen(value));
616 }
617 return 1;
618}
619
620apr_status_t h2_proxy_req_make(h2_proxy_request *req, apr_pool_t *pool,
621 const char *method, const char *scheme,

Callers

nothing calls this directly

Calls 2

h2_headers_add_h1Function · 0.85

Tested by

no test coverage detected