-*- coding: utf-8 -*-
Changes with Apache 2.2.21
+ *) mod_proxy_ajp: Ignore flushing if headers have not been sent.
+ PR 51608 [Ruediger Pluem]
+
*) Fix a regression in the CVE-2011-3192 byterange fix.
PR 51748. [low_priority <lowprio20 gmail.com>]
(Accept-Range: changeset in separate proposal below)
+1: covener, wrowe, rpluem
- * mod_proxy_ajp: Ignore flushing if headers have not been sent.
- Trunk patch: http://svn.apache.org/viewvc?rev=1153531&view=rev
- 2.2.x patch: http://people.apache.org/~rpluem/patches/51608.diff
- +1: rpluem, jim, jfclere
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
if (bb_len != -1)
conn->worker->s->read += bb_len;
}
- if (ap_pass_brigade(r->output_filters,
- output_brigade) != APR_SUCCESS) {
- ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
- "proxy: error processing body.%s",
- r->connection->aborted ?
- " Client aborted connection." : "");
- output_failed = 1;
+ if (headers_sent) {
+ if (ap_pass_brigade(r->output_filters,
+ output_brigade) != APR_SUCCESS) {
+ ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
+ "proxy: error processing body.%s",
+ r->connection->aborted ?
+ " Client aborted connection." : "");
+ output_failed = 1;
+ }
+ data_sent = 1;
+ apr_brigade_cleanup(output_brigade);
}
- data_sent = 1;
- apr_brigade_cleanup(output_brigade);
}
else {
backend_failed = 1;