Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 22874 invoked from network); 3 Nov 2009 07:51:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 07:51:26 -0000 Received: (qmail 59866 invoked by uid 500); 3 Nov 2009 07:51:26 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 59816 invoked by uid 500); 3 Nov 2009 07:51:26 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 59797 invoked by uid 99); 3 Nov 2009 07:51:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 07:51:26 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margol@beamartyr.net designates 199.203.54.245 as permitted sender) Received: from [199.203.54.245] (HELO hector.mirimar.net) (199.203.54.245) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 07:51:21 +0000 Received: from [95.35.185.9] ([95.35.185.9]) (authenticated bits=0) by mail1.mirimar.net (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id nA37oowB012423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Nov 2009 09:50:53 +0200 Message-ID: <4AEFE0D1.2000209@beamartyr.net> Date: Tue, 03 Nov 2009 09:50:41 +0200 From: Issac Goldstand User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: dev@httpd.apache.org CC: modules-dev@httpd.apache.org Subject: Re: Visiting mod_authn_cache References: <4AED52C4.5050609@beamartyr.net> <4AEEA324.4010206@beamartyr.net> <4AEEA790.6000501@sharp.fm> <4AEEBB46.1020703@beamartyr.net> <4AEEC004.1090803@sharp.fm> In-Reply-To: <4AEEC004.1090803@sharp.fm> X-Enigmail-Version: 0.96.0 OpenPGP: url=http://www.beamartyr.net/pubkey.asc Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on hector.mirimar.net X-Old-Spam-Status: No, score=-1.6 required=4.0 tests=AWL,BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no version=3.2.5 Graham Leggett wrote: > Issac Goldstand wrote: > > I actually ended up solving it with the help of socache's source. I was having troubles with apr_time_t's and saw that socache uses plain 'ol time_t. After switching, everything just worked. So technically, I'm done. (I'd be happy to submit the jumbo-patch to mod-auth, not sure if work will leave me time to start seperating it into chunks) >> Nope, it's not what I was using. I wanted to keep it 2.2.x compatible >> since I need this module in production, although I completely agree with >> the point. >> > > We also use socache in v2.2, and to solve that problem, I backported the > socache modules as external modules. Not all the socache modules build > cleanly, but the key ones we needed did. > Can you tell me what worked? If the shared memory cache works, I may get some extra time at work to rewrite for socache, just so that all of the children can use a single cache, instead of one per child. Also, any pointers to sample code for socache would be nice. I *think* I get how it's supposed to be used, but a concrete example would save some time. Issac