diff options
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, |