Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 99352 invoked from network); 13 Dec 2005 03:13:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 03:13:18 -0000 Received: (qmail 80576 invoked by uid 500); 13 Dec 2005 03:13:17 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 79753 invoked by uid 500); 13 Dec 2005 03:13:14 -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 79742 invoked by uid 99); 13 Dec 2005 03:13:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 19:13:14 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [69.36.241.231] (HELO lazlo.steam.com) (69.36.241.231) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 19:13:14 -0800 Received: from [172.16.242.253] (cliff@localhost [127.0.0.1]) by lazlo.steam.com (8.13.4/8.13.1) with ESMTP id jBD3Crrj077415 for ; Mon, 12 Dec 2005 19:12:53 -0800 (PST) (envelope-from wrowe@rowe-clan.net) Message-ID: <439E3BDB.8010909@rowe-clan.net> Date: Mon, 12 Dec 2005 19:11:23 -0800 From: "William A. Rowe, Jr." User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: 2.0 hook questions References: <439E3535.3030505@rowe-clan.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (lazlo.steam.com [127.0.0.1]); Mon, 12 Dec 2005 19:12:53 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Alexey Toptygin wrote: > On Mon, 12 Dec 2005, William A. Rowe, Jr. wrote: > >> Alexey Toptygin wrote: >> >>> >>> I tested, and the post_config hook does indeed get called twice. Why? >> >> >> Apache processes the configuration, and verifies that it's correct >> while still >> connected to the console. It then flushes the config, detaches, and >> reprocesses >> the configuration. >> >> It's been this way since 0.6 or 0.8 according to Roy who's sitting >> here :) > > > Sorry, I'm new to apache development :-) Is the hack that > mod_auth_digest uses OK to reuse in my code? I've had to use the same hack in mod_aspdotnet. But be certain it's truly static, process lifetime scope data that you are storing there. Most of the time, it's wrong to persist through the graceful restarts and so forth. In my aspdotnet implementation, though, it's not possible to tear down the MS .NET engine, so it's easier to leave one instance running for the lifetime of the process.