mirror of
https://github.com/apache/httpd.git
synced 2025-07-25 17:01:22 +00:00
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:
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user