mirror of
https://github.com/apache/httpd.git
synced 2025-11-05 05:30:39 +03:00
core_output_filter: straighten out the parens for the decision to set aside.
Pointed out by: gcc and Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -3878,10 +3878,10 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b)
|
||||
* (IOW, this response is a bit more complex, but we save it
|
||||
* with the hope of concatenating with another response)
|
||||
*/
|
||||
if ((nbytes + flen < AP_MIN_BYTES_TO_WRITE
|
||||
&& !fd && !more && !APR_BUCKET_IS_FLUSH(last_e))
|
||||
if (nbytes + flen < AP_MIN_BYTES_TO_WRITE
|
||||
&& ((!fd && !more && !APR_BUCKET_IS_FLUSH(last_e))
|
||||
|| (APR_BUCKET_IS_EOS(last_e)
|
||||
&& c->keepalive == AP_CONN_KEEPALIVE)) {
|
||||
&& c->keepalive == AP_CONN_KEEPALIVE))) {
|
||||
|
||||
/* NEVER save an EOS in here. If we are saving a brigade with
|
||||
* an EOS bucket, then we are doing keepalive connections, and
|
||||
|
||||
Reference in New Issue
Block a user