httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental cache_util.c mod_cache.h mod_cache.imp
Date Mon, 17 Feb 2003 03:12:04 GMT
jerenkrantz    2003/02/16 19:12:04

  Modified:    modules/experimental cache_util.c mod_cache.h mod_cache.imp
  Log:
  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).
  
  Revision  Changes    Path
  1.26      +0 -19     httpd-2.0/modules/experimental/cache_util.c
  
  Index: cache_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/cache_util.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -u -r1.25 -r1.26
  --- cache_util.c	17 Feb 2003 03:07:36 -0000	1.25
  +++ cache_util.c	17 Feb 2003 03:12:03 -0000	1.26
  @@ -76,25 +76,6 @@
       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)
  
  
  
  1.39      +0 -1      httpd-2.0/modules/experimental/mod_cache.h
  
  Index: mod_cache.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_cache.h,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -u -r1.38 -r1.39
  --- mod_cache.h	3 Feb 2003 17:52:59 -0000	1.38
  +++ mod_cache.h	17 Feb 2003 03:12:03 -0000	1.39
  @@ -270,7 +270,6 @@
                                       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);
  
  
  
  1.6       +0 -1      httpd-2.0/modules/experimental/mod_cache.imp
  
  Index: mod_cache.imp
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_cache.imp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -u -r1.5 -r1.6
  --- mod_cache.imp	23 Nov 2002 00:48:45 -0000	1.5
  +++ mod_cache.imp	17 Feb 2003 03:12:03 -0000	1.6
  @@ -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,
  
  
  

Mime
View raw message