1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

Add a flush bucket type. This bucket advises filters to flush any data

they are currently storing.  There is no way we can force them to flush,
but we can advise.  This also adds the code to ap_rflush to use flush
buckets, although it isn't enabled yet.  I will enable it once we remove
buff from the code.  I also removed all calls to ap_rflush that are either
immediately before or immediately after a call to ap_finalize_protocol.
ap_finalize_protocol sends an EOS bucket, which also advises filters to
flush their data, so having both calls right next to each other is
redundant.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86619 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Bloom
2000-10-17 00:24:36 +00:00
parent 25535f86ec
commit 86a1ecbda0
4 changed files with 14 additions and 21 deletions

View File

@@ -1355,12 +1355,6 @@ static void process_request_internal(request_rec *r)
return;
}
/* We need to flush the data out at this point. We probably only want to
* do this on the main request, but this is fine for an initial patch.
* Once we look into this more, we won't flush sub-requests.
*/
ap_rflush(r);
/* Take care of little things that need to happen when we're done */
ap_finalize_request_protocol(r);
}