1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

new directive H2Push on/off to en-/disable HTTP/2 server pushes. Server pushes are recognized by Link: headers in responses that carry the rel=preload parameter

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Eissing
2015-11-13 14:54:15 +00:00
parent 17bb21130c
commit 364b3f79c4
19 changed files with 676 additions and 344 deletions

View File

@@ -40,12 +40,15 @@ struct h2_request {
apr_off_t content_length;
int chunked;
int eoh;
int seen_host;
};
h2_request *h2_request_create(int id, apr_pool_t *pool);
h2_request *h2_request_createn(int id, apr_pool_t *pool,
const char *method, const char *scheme,
const char *authority, const char *path,
apr_table_t *headers);
void h2_request_destroy(h2_request *req);
apr_status_t h2_request_rwrite(h2_request *req, request_rec *r);