You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2023/06/23 14:10:08 UTC

svn commit: r1910573 - /httpd/httpd/trunk/include/httpd.h

Author: ylavic
Date: Fri Jun 23 14:10:07 2023
New Revision: 1910573

URL: http://svn.apache.org/viewvc?rev=1910573&view=rev
Log:
request_rec: Single bit for body_indeterminate (while it's not in 2.4.x yet).

Modified:
    httpd/httpd/trunk/include/httpd.h

Modified: httpd/httpd/trunk/include/httpd.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/httpd.h?rev=1910573&r1=1910572&r2=1910573&view=diff
==============================================================================
--- httpd/httpd/trunk/include/httpd.h (original)
+++ httpd/httpd/trunk/include/httpd.h Fri Jun 23 14:10:07 2023
@@ -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;
 };
 
 /**