core_outout_filter(). core_output_filter() is in need of a rewrite, it is
getting quite crufty.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89507
13f79535-47bb-0310-9956-
ffa450edef68
potential future problems... */
AP_DEBUG_ASSERT(AP_MIN_BYTES_TO_WRITE <=
APR_BUCKET_BUFF_SIZE);
+ if (rv != APR_SUCCESS) {
+ ap_log_error(APLOG_MARK, APLOG_ERR, rv, c->base_server,
+ "core_output_filter: Error reading from bucket.");
+ return rv;
+ }
apr_brigade_write(ctx->b, NULL, NULL, str, n);
}
apr_brigade_destroy(b);