diff options
author | Stefan Eissing <icing@apache.org> | 2016-02-08 17:53:45 +0100 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2016-02-08 17:53:45 +0100 |
commit | 3567f9f7c669c7b82e69484dc099a375250eff0d (patch) | |
tree | 4b45ef808cdabe2aec0d845ec3b5110dac2a0932 /modules/http2/h2_push.h | |
parent | let proxy handler forward ALPN protocol strings for ssl proxy connections (diff) | |
download | apache2-3567f9f7c669c7b82e69484dc099a375250eff0d.tar.xz apache2-3567f9f7c669c7b82e69484dc099a375250eff0d.zip |
new experimental http2 proxy module for h2: and h2c: proxy urls
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729209 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/h2_push.h')
-rw-r--r-- | modules/http2/h2_push.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/modules/http2/h2_push.h b/modules/http2/h2_push.h index b9e7219fce..d3519dcbfe 100644 --- a/modules/http2/h2_push.h +++ b/modules/http2/h2_push.h @@ -15,19 +15,14 @@ #ifndef __mod_h2__h2_push__ #define __mod_h2__h2_push__ +#include "h2.h" + struct h2_request; struct h2_response; struct h2_ngheader; struct h2_session; struct h2_stream; -typedef enum { - H2_PUSH_NONE, - H2_PUSH_DEFAULT, - H2_PUSH_HEAD, - H2_PUSH_FAST_LOAD, -} h2_push_policy; - typedef struct h2_push { const struct h2_request *req; } h2_push; @@ -66,17 +61,6 @@ apr_array_header_t *h2_push_collect(apr_pool_t *p, const struct h2_response *res); /** - * Set the push policy for the given request. Takes request headers into - * 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 p the pool to use - * @param push_enabled if HTTP/2 server push is generally enabled for this request - */ -void h2_push_policy_determine(struct h2_request *req, apr_pool_t *p, int push_enabled); - -/** * Create a new push diary for the given maximum number of entries. * * @oaram p the pool to use |