Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 40730 invoked from network); 14 May 2007 22:07:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 May 2007 22:07:39 -0000 Received: (qmail 11675 invoked by uid 500); 14 May 2007 22:07:45 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 11654 invoked by uid 500); 14 May 2007 22:07:45 -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 11644 invoked by uid 99); 14 May 2007 22:07:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 15:07:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [65.99.219.155] (HELO haxent.com) (65.99.219.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 15:07:38 -0700 Received: from karmic-2.local (unknown [201.21.154.64]) by haxent.com (Postfix) with ESMTP id AAACD388E3 for ; Mon, 14 May 2007 19:07:16 -0300 (BRT) Message-ID: <4648DD90.80808@haxent.com.br> Date: Mon, 14 May 2007 19:07:12 -0300 From: Davi Arnaut MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: TFM for init calling sequence? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Tim Bray wrote: > Does someone have an explanation of why my post_config hook routine > gets called twice and what the difference between the two calls is? > I remember at one time understanding this for 1.3, but that mental > space has obviously been re-used for something else in the interim. > -Tim The first pass verifies the configuration while still attached to the console. The config poll is then cleared, the process is detached from the terminal and the configuration process is repeated (pre, processss, post, whatever, ..). This also guarantees that your module will survive a restart. -- Davi Arnaut