From 891c3237d4dff0b0ff7a7226d7a39bbeb59087c1 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Tue, 29 Jun 2021 21:16:21 +0000 Subject: core: Write Completion (WC) bucket type. A WC bucket is meant to prevent buffering/coalescing filters from retaining data, but unlike a FLUSH bucket it won't cause the core output filter to block trying to flush anything before. It can be passed by async handlers which want to never block, followed by ap_filter_should_yield() to check for pending data and eventually suspend processing until MPM/asynchronous write completion finishes. In this commit it's used that way by the tunneling loop of mod_proxy to prevent SSL coaslescing. gh: closes #200 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891148 13f79535-47bb-0310-9956-ffa450edef68 --- include/ap_mmn.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/ap_mmn.h') diff --git a/include/ap_mmn.h b/include/ap_mmn.h index eccfce1e96..fee4381383 100644 --- a/include/ap_mmn.h +++ b/include/ap_mmn.h @@ -673,6 +673,8 @@ * ap_proxy_tunnel_conn_get_transferred() change * ap_proxy_transfer_between_connections() sent to apr_off_t *. * 20210531.0 (2.5.1-dev) add conn_rec->outgoing and ap_ssl_bind_outgoing() + * 20210531.1 (2.5.1-dev) Add ap_bucket_type_wc, ap_bucket_wc_make() and + * ap_bucket_wc_create() to util_filter.h */ #define MODULE_MAGIC_COOKIE 0x41503235UL /* "AP25" */ @@ -680,7 +682,7 @@ #ifndef MODULE_MAGIC_NUMBER_MAJOR #define MODULE_MAGIC_NUMBER_MAJOR 20210531 #endif -#define MODULE_MAGIC_NUMBER_MINOR 0 /* 0...n */ +#define MODULE_MAGIC_NUMBER_MINOR 1 /* 0...n */ /** * Determine if the server's current MODULE_MAGIC_NUMBER is at least a -- cgit v1.2.3