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

various fixes, mod_cgid interop, response/trailer forwarding rewritten, stability

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1763158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Eissing
2016-10-03 11:47:45 +00:00
parent 6099655506
commit 2d12cf2d7a
39 changed files with 1446 additions and 1629 deletions

View File

@@ -198,11 +198,12 @@ int h2_proxy_res_ignore_header(const char *name, size_t len);
* account, see draft https://tools.ietf.org/html/draft-ruellan-http-accept-push-policy-00
* for details.
*
* @param req the request to determine the policy for
* @param headers the http headers to inspect
* @param p the pool to use
* @param push_enabled if HTTP/2 server push is generally enabled for this request
* @return the push policy desired
*/
void h2_push_policy_determine(struct h2_request *req, apr_pool_t *p, int push_enabled);
int h2_push_policy_determine(apr_table_t *headers, apr_pool_t *p, int push_enabled);
/*******************************************************************************
* base64 url encoding, different table from normal base64
@@ -352,11 +353,12 @@ do { \
const char *line = "(null)"; \
apr_size_t len, bmax = sizeof(buffer)/sizeof(buffer[0]); \
len = h2_util_bb_print(buffer, bmax, (tag), "", (bb)); \
ap_log_cerror(APLOG_MARK, level, 0, (c), "bb_dump(%ld-%d): %s", \
(c)->id, (int)(sid), (len? buffer : line)); \
ap_log_cerror(APLOG_MARK, level, 0, (c), "bb_dump(%s): %s", \
(c)->log_id, (len? buffer : line)); \
} while(0)
typedef int h2_bucket_gate(apr_bucket *b);
/**
* Transfer buckets from one brigade to another with a limit on the
* maximum amount of bytes transferred. Does no setaside magic, lifetime
@@ -369,7 +371,8 @@ do { \
apr_status_t h2_append_brigade(apr_bucket_brigade *to,
apr_bucket_brigade *from,
apr_off_t *plen,
int *peos);
int *peos,
h2_bucket_gate *should_append);
/**
* Get an approximnation of the memory footprint of the given