summaryrefslogtreecommitdiffstats
path: root/modules/experimental
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2002-01-25 02:11:47 +0100
committerJustin Erenkrantz <jerenkrantz@apache.org>2002-01-25 02:11:47 +0100
commit94d01b65aa7ce7a9c06f7e65708be628f049cf30 (patch)
tree44bc08edb40c53a92c7502614a24a8d8a2fd43a2 /modules/experimental
parentEnable the BrowserMatch for Microsoft's DAV client -- we know it is (diff)
downloadapache2-94d01b65aa7ce7a9c06f7e65708be628f049cf30.tar.xz
apache2-94d01b65aa7ce7a9c06f7e65708be628f049cf30.zip
Change ap_get_brigade prototype to remove *readbytes in favor of readbytes.
If you need the length, you should be using apr_brigade_length. This is much more consistent. Of all the places that call ap_get_brigade, only one (ap_http_filter) needs the length. This makes it now possible to pass constants down without assigning them to a temporary variable first. Also: - Change proxy_ftp to use EXHAUSTIVE mode (didn't catch its -1 before) - Fix buglet in mod_ssl that would cause it to return too much data in some circumstances git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93014 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/experimental')
-rw-r--r--modules/experimental/mod_case_filter_in.c2
-rw-r--r--modules/experimental/mod_charset_lite.c2
-rw-r--r--modules/experimental/mod_ext_filter.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/experimental/mod_case_filter_in.c b/modules/experimental/mod_case_filter_in.c
index 0ff01289fa..18b44dd721 100644
--- a/modules/experimental/mod_case_filter_in.c
+++ b/modules/experimental/mod_case_filter_in.c
@@ -102,7 +102,7 @@ static apr_status_t CaseFilterInFilter(ap_filter_t *f,
apr_bucket_brigade *pbbOut,
ap_input_mode_t eMode,
apr_read_type_e eBlock,
- apr_off_t *nBytes)
+ apr_off_t nBytes)
{
request_rec *r = f->r;
CaseFilterInContext *pCtx;
diff --git a/modules/experimental/mod_charset_lite.c b/modules/experimental/mod_charset_lite.c
index 9b490d6d04..aad8bcb018 100644
--- a/modules/experimental/mod_charset_lite.c
+++ b/modules/experimental/mod_charset_lite.c
@@ -991,7 +991,7 @@ static void transfer_brigade(apr_bucket_brigade *in, apr_bucket_brigade *out)
static int xlate_in_filter(ap_filter_t *f, apr_bucket_brigade *bb,
ap_input_mode_t mode, apr_read_type_e block,
- apr_off_t *readbytes)
+ apr_off_t readbytes)
{
apr_status_t rv;
charset_req_t *reqinfo = ap_get_module_config(f->r->request_config,
diff --git a/modules/experimental/mod_ext_filter.c b/modules/experimental/mod_ext_filter.c
index f8565bf43e..ba5444bb31 100644
--- a/modules/experimental/mod_ext_filter.c
+++ b/modules/experimental/mod_ext_filter.c
@@ -750,7 +750,7 @@ static apr_status_t ef_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)
#if 0
static int ef_input_filter(ap_filter_t *f, apr_bucket_brigade *bb,
ap_input_mode_t mode, apr_read_type_e block,
- apr_off_t *readbytes)
+ apr_off_t readbytes)
{
apr_status_t rv;
apr_bucket *b;