diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2003-02-17 04:12:03 +0100 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2003-02-17 04:12:03 +0100 |
commit | d90ede0e359e94dbca37979e5e9df0ae580286bf (patch) | |
tree | a4364bbe2b74b1503f4b4dc1173cde48389f5b1d | |
parent | Style changes only. No functional changes. (diff) | |
download | apache2-d90ede0e359e94dbca37979e5e9df0ae580286bf.tar.xz apache2-d90ede0e359e94dbca37979e5e9df0ae580286bf.zip |
Remove ap_cache_reset_output_filters.
That function couldn't do what it thought it did and no one calls it
anyway (from what I can tell).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98688 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | modules/experimental/cache_util.c | 19 | ||||
-rw-r--r-- | modules/experimental/mod_cache.h | 1 | ||||
-rw-r--r-- | modules/experimental/mod_cache.imp | 1 |
3 files changed, 0 insertions, 21 deletions
diff --git a/modules/experimental/cache_util.c b/modules/experimental/cache_util.c index 65aec7186d..e0f82c6d7d 100644 --- a/modules/experimental/cache_util.c +++ b/modules/experimental/cache_util.c @@ -76,25 +76,6 @@ CACHE_DECLARE(int) ap_cache_request_is_conditional(request_rec *r) return 0; } -/* remove other filters from filter stack */ -CACHE_DECLARE(void) ap_cache_reset_output_filters(request_rec *r) -{ - ap_filter_t *f = r->output_filters; - - while (f) { - if (!strcasecmp(f->frec->name, "CORE") || - !strcasecmp(f->frec->name, "CONTENT_LENGTH") || - !strcasecmp(f->frec->name, "HTTP_HEADER")) { - f = f->next; - continue; - } - else { - ap_remove_output_filter(f); - f = f->next; - } - } -} - CACHE_DECLARE(const char *)ap_cache_get_cachetype(request_rec *r, cache_server_conf *conf, const char *url) diff --git a/modules/experimental/mod_cache.h b/modules/experimental/mod_cache.h index e0d824c77d..e1be586c88 100644 --- a/modules/experimental/mod_cache.h +++ b/modules/experimental/mod_cache.h @@ -270,7 +270,6 @@ CACHE_DECLARE(char *) generate_name(apr_pool_t *p, int dirlevels, int dirlength, const char *name); CACHE_DECLARE(int) ap_cache_request_is_conditional(request_rec *r); -CACHE_DECLARE(void) ap_cache_reset_output_filters(request_rec *r); CACHE_DECLARE(const char *)ap_cache_get_cachetype(request_rec *r, cache_server_conf *conf, const char *url); CACHE_DECLARE(int) ap_cache_liststr(apr_pool_t *p, const char *list, const char *key, char **val); diff --git a/modules/experimental/mod_cache.imp b/modules/experimental/mod_cache.imp index 61255257e9..07a32f584b 100644 --- a/modules/experimental/mod_cache.imp +++ b/modules/experimental/mod_cache.imp @@ -1,6 +1,5 @@ (MODCACHE) ap_cache_request_is_conditional, - ap_cache_reset_output_filters, ap_cache_get_cachetype, ap_cache_liststr, ap_cache_tokstr, |