diff options
author | Jeff Trawick <trawick@apache.org> | 2000-10-21 15:20:36 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-10-21 15:20:36 +0200 |
commit | 96cf82e63b6c906ac526b24684c5685c660efbbd (patch) | |
tree | 07cfa2569a26e2715f4bf083fd0662ac603937af /server | |
parent | Rename buffer_filter to coalesce_filter. (diff) | |
download | apache2-96cf82e63b6c906ac526b24684c5685c660efbbd.tar.xz apache2-96cf82e63b6c906ac526b24684c5685c660efbbd.zip |
Input filters and ap_get_brigade() now have a input mode parameter
(blocking, non-blocking, peek) instead of a length parameter.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86684 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r-- | server/util_filter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/util_filter.c b/server/util_filter.c index 41bcb84fc6..85780a04f6 100644 --- a/server/util_filter.c +++ b/server/util_filter.c @@ -195,11 +195,11 @@ AP_DECLARE(void) ap_add_output_filter(const char *name, void *ctx, * save data off to the side should probably create their own temporary * brigade especially for that use. */ -AP_DECLARE(apr_status_t) ap_get_brigade(ap_filter_t *next, - ap_bucket_brigade *bb, apr_ssize_t length) +AP_DECLARE(apr_status_t) ap_get_brigade(ap_filter_t *next, ap_bucket_brigade *bb, + ap_input_mode_t mode) { if (next) { - return next->frec->filter_func.in_func(next, bb, length); + return next->frec->filter_func.in_func(next, bb, mode); } return AP_NOBODY_READ; } |