Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 98806 invoked from network); 2 Aug 2004 15:44:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Aug 2004 15:44:37 -0000 Received: (qmail 89036 invoked by uid 500); 2 Aug 2004 15:44:31 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 88968 invoked by uid 500); 2 Aug 2004 15:44:30 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 88954 invoked by uid 99); 2 Aug 2004 15:44:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [204.146.167.214] (HELO Boron.MeepZor.Com) (204.146.167.214) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 02 Aug 2004 08:44:29 -0700 Received: from [9.37.243.136] (dmz-firewall [206.199.198.4]) by Boron.MeepZor.Com (8.11.6/8.11.6) with ESMTP id i72FiTO16693 for ; Mon, 2 Aug 2004 11:44:29 -0400 Message-ID: <410E6140.7090901@wstoddard.com> Date: Mon, 02 Aug 2004 11:44:00 -0400 From: Bill Stoddard User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: [PATCH] mod_cache fixes: #5 References: <40B25DBF8F84D316162D79F8@[10.0.1.74]> <410D0B83.9040100@wstoddard.com> <1252C4FF6DF4B2297E96D74F@[10.0.1.75]> In-Reply-To: <1252C4FF6DF4B2297E96D74F@[10.0.1.75]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Justin Erenkrantz wrote: > --On Sunday, August 1, 2004 11:25 AM -0400 Bill Stoddard > wrote: > >> Too many changes in one patch. Break this up into multiple consumable >> in 15 >> minute patches and I'll review them. > > > * modules/experimental/mod_cache.c: Delay no-store check until saving. > (It's a corner case with little benefit in the mainline.) +1. one small style nit.. My mailer is wrapping the line so apologies... > - cache = (cache_request_rec *) > ap_get_module_config(r->request_config, &cache_module); > + cache = (cache_request_rec *) ap_get_module_config(r->request_config, > + &cache_module); > if (!cache) { > + /* user likely configured CACHE_SAVE manually; they should > really use > + * mod_cache configuration to do that */ comment end delimiter needs to be moved to its own line. > cache = apr_pcalloc(r->pool, sizeof(cache_request_rec)); > ap_set_module_config(r->request_config, &cache_module, cache); > } >