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

Function set_h1_header

modules/http2/h2_request.c:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68} h1_ctx;
69
70static int set_h1_header(void *ctx, const char *key, const char *value)
71{
72 h1_ctx *x = ctx;
73 int was_added;
74 h2_req_add_header(x->headers, x->pool, key, strlen(key),
75 value, strlen(value), x->scratch, &was_added);
76 return 1;
77}
78
79apr_status_t h2_request_rcreate(h2_request **preq, apr_pool_t *pool,
80 request_rec *r, h2_hd_scratch *scratch)

Callers

nothing calls this directly

Calls 1

h2_req_add_headerFunction · 0.85

Tested by

no test coverage detected