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/experimental mod_cache.c
Date Mon, 01 Apr 2002 17:13:19 GMT
stoddard    02/04/01 09:13:19

  Modified:    modules/experimental mod_cache.c
  Log:
  Remove some gratuitous comments.
  
  Revision  Changes    Path
  1.40      +8 -6      httpd-2.0/modules/experimental/mod_cache.c
  
  Index: mod_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_cache.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- mod_cache.c	29 Mar 2002 08:17:20 -0000	1.39
  +++ mod_cache.c	1 Apr 2002 17:13:19 -0000	1.40
  @@ -252,9 +252,9 @@
                                r->server,
                                "cache: conditional - add cache_in filter and "
                                "DECLINE");
  -                /* add cache_in filter */
  +
                   ap_add_output_filter("CACHE_IN", NULL, r, r->connection);
  -                /* return DECLINED */
  +
                   return DECLINED;
               }
               /* else if non-conditional request */
  @@ -284,9 +284,9 @@
                                    r->server,
                                    "cache: nonconditional - no cached "
                                    "etag/lastmods - add cache_in and DECLINE");
  -                    /* add cache_in filter to cache this request */
  +
                       ap_add_output_filter("CACHE_IN", NULL, r, r->connection);
  -                    /* return DECLINED */
  +
                       return DECLINED;
                   }
                   /* add cache_conditional filter */
  @@ -298,7 +298,7 @@
                                        NULL, 
                                        r, 
                                        r->connection);
  -                /* return DECLINED */
  +
                   return DECLINED;
               }
           }
  @@ -339,7 +339,9 @@
       ap_log_error(APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, 0, r->server,
               "cache: running CACHE_OUT filter");
   
  -    /* TODO: Handle getting errors on either of these calls */
  +    /* TODO: Handle getting errors on either of these calls 
  +     * ???: Should we return headers on a subrequest?
  +     */
       cache_read_entity_headers(cache->handle, r);    
       cache_read_entity_body(cache->handle, r->pool, bb);
   
  
  
  

Mime
View raw message