Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 29423 invoked from network); 12 Dec 2008 20:34:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2008 20:34:05 -0000 Received: (qmail 66872 invoked by uid 500); 12 Dec 2008 20:34:17 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 65969 invoked by uid 500); 12 Dec 2008 20:34:15 -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: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 65960 invoked by uid 99); 12 Dec 2008 20:34:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 12:34:15 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jorton@redhat.com designates 66.187.237.31 as permitted sender) Received: from [66.187.237.31] (HELO mx2.redhat.com) (66.187.237.31) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 20:33:54 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mBCKXXlf029184 for ; Fri, 12 Dec 2008 15:33:33 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mBCKXXXI014455 for ; Fri, 12 Dec 2008 15:33:33 -0500 Received: from turnip.manyfish.co.uk (vpn-13-32.rdu.redhat.com [10.11.13.32]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mBCKXVK1030853 for ; Fri, 12 Dec 2008 15:33:32 -0500 Received: from jorton by turnip.manyfish.co.uk with local (Exim 4.69) (envelope-from ) id 1LBEhX-0006av-Dd for dev@httpd.apache.org; Fri, 12 Dec 2008 20:33:31 +0000 Date: Fri, 12 Dec 2008 20:33:31 +0000 From: Joe Orton To: dev@httpd.apache.org Subject: Re: svn commit: r724745 - in /httpd/httpd/trunk: include/ap_socache.h modules/ssl/ssl_scache.c Message-ID: <20081212203331.GA25255@redhat.com> Mail-Followup-To: dev@httpd.apache.org References: <20081209151908.BDA102388879@eris.apache.org> <493EB95B.3040105@pearsoncmg.com> <20081212100748.GA6413@redhat.com> <4942B865.4060801@pearsoncmg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4942B865.4060801@pearsoncmg.com> User-Agent: Mutt/1.5.18 (2008-05-17) Organization: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in UK and Wales under Company Registration No. 03798903 Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson (USA), Charlie Peters (USA) X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Dec 12, 2008 at 11:15:49AM -0800, Chris Darroch wrote: > Joe Orton wrote: > >> Both modules look very neat! Are you going to commit them? I might >> debate the naming of mod_shmap ;) > > Heh, thanks. I don't know, I hadn't really thought about committing > them ... maybe the shmap one is more useful to other folks? mod_shmap would be useful at least in modules/test so I can write some perl-framework tests for mod_socache! >>> - have all providers consistently return APR_NOTFOUND from retrieve() >>> when an item is not found >>> >>> - pass a pool argument for temporary allocations to store() and remove() >>> >>> - return an apr_status_t instead of void from remove() and maybe >>> also destroy() >> >> Those all seem like good ideas - thanks! > > I saw the commit, thank you! I confess I'm not sure what I was > thinking when I said we should pass a pool to remove(), since it already > took one. Maybe destroy() should take a pool too? Perhaps that's > overkill. > > One other thought ... does this change need an ap_mmn.h bump? Ah, I was waiting for Ruediger to ask ;) Personally I think it is redundant maintaining fine-grained API versions across changes in unreleased code. Also, if we are going to API version, arguably it should be done by bumping the provider version. But really, I don't care ;) [on naming...] > I feel like "so" is already quite overloaded with the meaning > "shared object", and especially so in this case, since we have the > long-standing mod_so already in place. To my mind, mod_socache* > could easily imply to others that these modules are somehow related > to caching .so files in memory, or something like that. > > Is there anything we could come up with that doesn't imply any > connection with mod_so and .so files? I hunted around for something > in the past and came up with shmap, but I could live with dcache or > scache or something else that seemed unique within in the httpd module > population. Any thoughts? Personally, I don't think it's a big enough deal to repaint the bikeshed. It's an API for module developers, so, if someone gets confused with mod_so, what's the worst that could happen? joe