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

Function h2_proxy_req_createn

modules/http2/h2_proxy_util.c:584–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584static h2_proxy_request *h2_proxy_req_createn(int id, apr_pool_t *pool, const char *method,
585 const char *scheme, const char *authority,
586 const char *path, apr_table_t *header)
587{
588 h2_proxy_request *req = apr_pcalloc(pool, sizeof(h2_proxy_request));
589
590 req->method = method;
591 req->scheme = scheme;
592 req->authority = authority;
593 req->path = path;
594 req->headers = header? header : apr_table_make(pool, 10);
595 req->request_time = apr_time_now();
596
597 return req;
598}
599
600h2_proxy_request *h2_proxy_req_create(int id, apr_pool_t *pool)
601{

Callers 1

h2_proxy_req_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected