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

fix in connection shutdown to no longer log after free, fixes in handling HTTP/2 HEADER after DATA (trailers)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715184 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Eissing
2015-11-19 14:04:30 +00:00
parent b7693e5941
commit d044bee78e
12 changed files with 258 additions and 120 deletions

View File

@@ -36,6 +36,7 @@ struct h2_request {
const char *path;
apr_table_t *headers;
apr_table_t *trailers;
apr_off_t content_length;
int chunked;
@@ -57,6 +58,10 @@ apr_status_t h2_request_add_header(h2_request *req, apr_pool_t *pool,
const char *name, size_t nlen,
const char *value, size_t vlen);
apr_status_t h2_request_add_trailer(h2_request *req, apr_pool_t *pool,
const char *name, size_t nlen,
const char *value, size_t vlen);
apr_status_t h2_request_end_headers(h2_request *req, apr_pool_t *pool, int eos);
void h2_request_copy(apr_pool_t *p, h2_request *dst, const h2_request *src);