httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/metadata mod_expires.c
Date Sun, 18 May 2003 19:01:47 GMT
stoddard    2003/05/18 12:01:47

  Modified:    modules/metadata mod_expires.c
  Log:
  Namespace protect the mod_expires filter
  
  Revision  Changes    Path
  1.42      +2 -2      httpd-2.0/modules/metadata/mod_expires.c
  
  Index: mod_expires.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_expires.c,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- mod_expires.c	14 May 2003 17:39:14 -0000	1.41
  +++ mod_expires.c	18 May 2003 19:01:47 -0000	1.42
  @@ -573,7 +573,7 @@
        * do make a note of any ExpiresDefault value for its use.
        */
       if (! apr_is_empty_table(conf->expiresbytype)) {
  -        ap_add_output_filter("EXPIRATION", NULL, r, r->connection);
  +        ap_add_output_filter("MOD_EXPIRES", NULL, r, r->connection);
           rfields = notes->expfields;
       }
       else {
  @@ -603,7 +603,7 @@
   
   static void register_hooks(apr_pool_t *p)
   {
  -    ap_register_output_filter("EXPIRATION", expires_by_type_filter, NULL,
  +    ap_register_output_filter("MOD_EXPIRES", expires_by_type_filter, NULL,
                                 AP_FTYPE_CONTENT_SET);
       ap_hook_fixups(add_expires,NULL,NULL,APR_HOOK_MIDDLE);
   }
  
  
  

Mime
View raw message