summaryrefslogtreecommitdiffstats
path: root/modules/http2/mod_http2.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2016-01-15 15:27:59 +0100
committerStefan Eissing <icing@apache.org>2016-01-15 15:27:59 +0100
commit17282190d0a2e4563ca2abac6baf614fa2a5f19e (patch)
tree22ca8c4c418c2f72679741259a602f6562ef550b /modules/http2/mod_http2.c
parent *) mod_rewrite: Avoid looping on relative substitutions that (diff)
downloadapache2-17282190d0a2e4563ca2abac6baf614fa2a5f19e.tar.xz
apache2-17282190d0a2e4563ca2abac6baf614fa2a5f19e.zip
mod_http2: push diary to avoid duplicate pushes, cache-digest handling, http2-status handler for stats about current http2 connection
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1724820 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/mod_http2.c')
-rw-r--r--modules/http2/mod_http2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/http2/mod_http2.c b/modules/http2/mod_http2.c
index 53a460fe31..a44661c923 100644
--- a/modules/http2/mod_http2.c
+++ b/modules/http2/mod_http2.c
@@ -18,6 +18,7 @@
#include <apr_want.h>
#include <httpd.h>
+#include <http_protocol.h>
#include <http_request.h>
#include <http_log.h>
@@ -27,6 +28,7 @@
#include "h2_stream.h"
#include "h2_alt_svc.h"
#include "h2_conn.h"
+#include "h2_filter.h"
#include "h2_task.h"
#include "h2_session.h"
#include "h2_config.h"
@@ -156,6 +158,9 @@ static void h2_hooks(apr_pool_t *pool)
/* Setup subprocess env for certain variables
*/
ap_hook_fixups(h2_h2_fixups, NULL,NULL, APR_HOOK_MIDDLE);
+
+ /* test http2 connection status handler */
+ ap_hook_handler(h2_filter_h2_status_handler, NULL, NULL, APR_HOOK_MIDDLE);
}
static char *value_of_HTTP2(apr_pool_t *p, server_rec *s,