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
This commit is contained in:
Yann Ylavic
2023-06-23 14:10:07 +00:00
parent 27555e1c64
commit df5a2628cc

View File

@ -1144,6 +1144,7 @@ struct request_rec {
* the elements of this field. * the elements of this field.
*/ */
ap_request_bnotes_t bnotes; ap_request_bnotes_t bnotes;
/** Indicates that the request has a body of unknown length and /** Indicates that the request has a body of unknown length and
* protocol handlers need to read it, even if only to discard the * 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 * 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 * absence of a "Transfer-Encoding" header is no longer sufficient
* to conclude that no body is there. * 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 /** Whether a final (status >= 200) RESPONSE BUCKET has been passed down
* the output filters already. Relevant for ap_die(). * the output filters already. Relevant for ap_die().
* TODO: compact elsewhere * TODO: compact elsewhere
*/ */
unsigned int final_resp_passed:1; unsigned int final_resp_passed :1;
}; };
/** /**