summaryrefslogtreecommitdiffstats
path: root/modules/http2/h2_stream.h
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2016-05-17 16:33:15 +0200
committerStefan Eissing <icing@apache.org>2016-05-17 16:33:15 +0200
commitb9eb3fa8b39723fd81ef555a6840a3f684ee0bbc (patch)
treea3d29d1b3973d18e4dd1efd2a3cceb9495d52cfa /modules/http2/h2_stream.h
parentmod_rewrite: adding h2:// and h2c:// proxy schemes to absolute uri detection,... (diff)
downloadapache2-b9eb3fa8b39723fd81ef555a6840a3f684ee0bbc.tar.xz
apache2-b9eb3fa8b39723fd81ef555a6840a3f684ee0bbc.zip
mod_http2: checking configured Limit* values against header fields
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1744283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/h2_stream.h')
-rw-r--r--modules/http2/h2_stream.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/http2/h2_stream.h b/modules/http2/h2_stream.h
index 33f28f6eab..84f9717140 100644
--- a/modules/http2/h2_stream.h
+++ b/modules/http2/h2_stream.h
@@ -49,7 +49,8 @@ struct h2_stream {
apr_pool_t *pool; /* the memory pool for this stream */
struct h2_request *request; /* the request made in this stream */
struct h2_bucket_beam *input;
-
+ int request_headers_added; /* number of request headers added */
+
struct h2_response *response;
struct h2_bucket_beam *output;
apr_bucket_brigade *buffer;
@@ -189,6 +190,11 @@ apr_status_t h2_stream_set_response(h2_stream *stream,
struct h2_bucket_beam *output);
/**
+ * Set the HTTP error status as response.
+ */
+apr_status_t h2_stream_set_error(h2_stream *stream, int http_status);
+
+/**
* Do a speculative read on the stream output to determine the
* amount of data that can be read.
*