summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2023-06-01 14:21:03 +0200
committerStefan Eissing <icing@apache.org>2023-06-01 14:21:03 +0200
commited69ae3384bd80c0c80f7a421662331c29c2e72c (patch)
tree81f560e9673a3fc4acf4f4f5e04d67adf4ce85a2 /include
parent * mod_proxy_http2: fixed using the wrong "bucket_alloc" from the backend (diff)
downloadapache2-ed69ae3384bd80c0c80f7a421662331c29c2e72c.tar.xz
apache2-ed69ae3384bd80c0c80f7a421662331c29c2e72c.zip
*) core: add `final_resp_passed` flag to request_rec to allow
ap_die() to judge if it can send out a response. Bump mmn. Enable test cases that check errors during response body to appear as error on client side. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910161 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/ap_mmn.h3
-rw-r--r--include/httpd.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/include/ap_mmn.h b/include/ap_mmn.h
index 7b6e524aae..b7acf6e4bf 100644
--- a/include/ap_mmn.h
+++ b/include/ap_mmn.h
@@ -717,6 +717,7 @@
* 20211221.12 (2.5.1-dev) Add cmd_parms->regex
* 20211221.13 (2.5.1-dev) Add hook token_checker to check for authorization other
* than username / password. Add autht_provider structure.
+ * 20211221.14 (2.5.1-dev) Add request_rec->final_resp_passed bit
*/
#define MODULE_MAGIC_COOKIE 0x41503235UL /* "AP25" */
@@ -724,7 +725,7 @@
#ifndef MODULE_MAGIC_NUMBER_MAJOR
#define MODULE_MAGIC_NUMBER_MAJOR 20211221
#endif
-#define MODULE_MAGIC_NUMBER_MINOR 13 /* 0...n */
+#define MODULE_MAGIC_NUMBER_MINOR 14 /* 0...n */
/**
* Determine if the server's current MODULE_MAGIC_NUMBER is at least a
diff --git a/include/httpd.h b/include/httpd.h
index 1ef00212f4..0affc58edb 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -1152,6 +1152,11 @@ struct request_rec {
* to conclude that no body is there.
*/
int body_indeterminate;
+ /** Whether a final (status >= 200) RESPONSE BUCKET has been passed down
+ * the output filters already. Relevant for ap_die().
+ * TODO: compact elsewhere
+ */
+ unsigned int final_resp_passed:1;
};
/**