Obtained from:
Submitted by:
Reviewed by: Ryan Bloom
remove flush bucket from ap_proxy_http_process_response.
this allows for the response content-length header to be properly
calculated/inserted.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94459
13f79535-47bb-0310-9956-
ffa450edef68
if ( (conf->error_override ==0) || r->status < 400 ) {
/* read the body, pass it to the output filters */
- apr_bucket *e;
int finish = FALSE;
while (ap_get_brigade(rp->input_filters,
bb,
finish = TRUE;
}
- /* if no EOS yet, then we must flush */
- if (FALSE == finish) {
- e = apr_bucket_flush_create(c->bucket_alloc);
- APR_BRIGADE_INSERT_TAIL(bb, e);
- }
-
/* try send what we read */
if (ap_pass_brigade(r->output_filters, bb) != APR_SUCCESS) {
/* Ack! Phbtt! Die! User aborted! */