summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2023-06-23 16:10:07 +0200
committerYann Ylavic <ylavic@apache.org>2023-06-23 16:10:07 +0200
commitdf5a2628ccac94bb5af5c257c3765d848e270e80 (patch)
treed493aa97d2740cf462505b1eb8c839be4686ee27 /include
parentSteal some APLOGNOs for event_wip [skip ci]. (diff)
downloadapache2-df5a2628ccac94bb5af5c257c3765d848e270e80.tar.xz
apache2-df5a2628ccac94bb5af5c257c3765d848e270e80.zip
request_rec: Single bit for body_indeterminate (while it's not in 2.4.x yet).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910573 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 0affc58edb..ccbe417328 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -1144,6 +1144,7 @@ struct request_rec {
* the elements of this field.
*/
ap_request_bnotes_t bnotes;
+
/** Indicates that the request has a body of unknown length and
* protocol handlers need to read it, even if only to discard the
* data. In HTTP/1.1 this is set on chunked transfer encodings, but
@@ -1151,12 +1152,12 @@ struct request_rec {
* absence of a "Transfer-Encoding" header is no longer sufficient
* to conclude that no body is there.
*/
- int body_indeterminate;
+ unsigned int body_indeterminate :1;
/** 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;
+ unsigned int final_resp_passed :1;
};
/**