| 582 | } |
| 583 | |
| 584 | static 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 | |
| 600 | h2_proxy_request *h2_proxy_req_create(int id, apr_pool_t *pool) |
| 601 | { |
no outgoing calls
no test coverage detected