From: Ryan Bloom Date: Mon, 23 Oct 2000 10:44:34 +0000 (+0000) Subject: Make ap_rflush use the flush bucket properly, and remove the BUFF code X-Git-Tag: APACHE_2_0_ALPHA_8~275 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d5f496143b4b7e2433765077522ecb131ff384b;p=apache Make ap_rflush use the flush bucket properly, and remove the BUFF code from that function. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86708 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 2ad8ea7e73..d92d5660d7 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2854,13 +2854,6 @@ AP_DECLARE_NONSTD(int) ap_rvputs(request_rec *r, ...) AP_DECLARE(int) ap_rflush(request_rec *r) { - apr_status_t rv; - - if ((rv = ap_bflush(r->connection->client)) != APR_SUCCESS) { - check_first_conn_error(r, "rflush", rv); - return EOF; - } -#if USE_FLUSH_BUCKET /* we should be using a flush bucket to flush the stack, not buff code. */ ap_bucket_brigade *bb; ap_bucket *b; @@ -2869,7 +2862,6 @@ AP_DECLARE(int) ap_rflush(request_rec *r) b = ap_bucket_create_flush(); AP_BRIGADE_INSERT_TAIL(bb, b); ap_pass_brigade(r->output_filters, bb); -#endif return 0; }