diff options
author | Graham Leggett <minfrin@apache.org> | 2015-10-04 12:10:51 +0200 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2015-10-04 12:10:51 +0200 |
commit | 615f97f93364fd7189ce973478266ce3d229d76b (patch) | |
tree | 84b9f0601b3a3ba6ecb0caf794378d7019f850e5 /include/http_request.h | |
parent | leave LoadModule of mod_http2 commented-out by default (diff) | |
download | apache2-615f97f93364fd7189ce973478266ce3d229d76b.tar.xz apache2-615f97f93364fd7189ce973478266ce3d229d76b.zip |
core: Extend support for asynchronous write completion from the
network filter to any connection or request filter.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1706669 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_request.h')
-rw-r--r-- | include/http_request.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/http_request.h b/include/http_request.h index 595042bb25..9ec771c9f5 100644 --- a/include/http_request.h +++ b/include/http_request.h @@ -149,6 +149,18 @@ AP_DECLARE(int) ap_run_sub_req(request_rec *r); */ AP_DECLARE(void) ap_destroy_sub_req(request_rec *r); +/** + * An output filter to ensure that we avoid passing morphing buckets to + * connection filters and in so doing defeat async write completion when + * they are set aside. This should be inserted at the end of a request + * filter stack. + * @param f The current filter + * @param bb The brigade to filter + * @return status code + */ +AP_CORE_DECLARE_NONSTD(apr_status_t) ap_request_core_filter(ap_filter_t *f, + apr_bucket_brigade *bb); + /* * Then there's the case that you want some other request to be served * as the top-level request INSTEAD of what the client requested directly. |