]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
request_rec: Single bit for body_indeterminate (while it's not in 2.4.x yet).
authorYann Ylavic <ylavic@apache.org>
Fri, 23 Jun 2023 14:10:07 +0000 (14:10 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 23 Jun 2023 14:10:07 +0000 (14:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910573 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h

index 0affc58edb2e3aba5288bc8e98f674b59784ab13..ccbe417328a4f3f8ab812ac95977c3b65f03baa4 100644 (file)
@@ -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;
 };
 
 /**