diff options
author | Stefan Eissing <icing@apache.org> | 2022-04-04 08:24:09 +0000 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2022-04-04 08:24:09 +0000 |
commit | 4442201e61616a2a75909b26909121f469bfae7c (patch) | |
tree | 63f3ea4cfe577f6892cd704c0ac4f719bc985093 /include/mod_core.h | |
parent | a6ed77c35e71805db39f79a9d8e171bb7737e712 (diff) | |
download | httpd-4442201e61616a2a75909b26909121f469bfae7c.tar.gz |
*) core/mod_http/mod_http2:
- adds new meta bucket types REQUEST, RESPONSE and HEADERS to the API.
- adds a new method for setting standard response headers Date and Server
- adds helper methods for formatting parts of HTTP/1.x, like headers and
end chunks for use in non-core parts of the server, e.g. mod_proxy
- splits the HTTP_IN filter into a "generic HTTP" and "specific HTTP/1.x"
filter. The latter one named HTTP1_BODY_IN.
- Uses HTTP1_BODY_IN only for requests with HTTP version <= 1.1
- Removes the chunked input simulation from mod_http2
- adds body_indeterminate flag to request_rec that indicates that a request
body may be present and needs to be read/discarded. This replaces logic
that thinks without Content-Length and Transfer-Encoding, no request
body can exist.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899547 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/mod_core.h')
-rw-r--r-- | include/mod_core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mod_core.h b/include/mod_core.h index 8eab3e12c4..4897fee6f5 100644 --- a/include/mod_core.h +++ b/include/mod_core.h @@ -40,6 +40,7 @@ extern "C" { /* Handles for core filters */ AP_DECLARE_DATA extern ap_filter_rec_t *ap_http_input_filter_handle; +AP_DECLARE_DATA extern ap_filter_rec_t *ap_h1_body_in_filter_handle; AP_DECLARE_DATA extern ap_filter_rec_t *ap_http_header_filter_handle; AP_DECLARE_DATA extern ap_filter_rec_t *ap_chunk_filter_handle; AP_DECLARE_DATA extern ap_filter_rec_t *ap_http_outerror_filter_handle; @@ -52,6 +53,10 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes); +apr_status_t ap_h1_body_in_filter(ap_filter_t *f, apr_bucket_brigade *b, + ap_input_mode_t mode, apr_read_type_e block, + apr_off_t readbytes); + /* HTTP/1.1 chunked transfer encoding filter. */ apr_status_t ap_http_chunk_filter(ap_filter_t *f, apr_bucket_brigade *b); |