Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id TAA10756; Sun, 3 Aug 1997 19:59:36 -0700 (PDT) Received: from postman.opengroup.org (postman.opengroup.org [130.105.1.152]) by hyperreal.org (8.8.5/8.8.5) with ESMTP id TAA10693 for ; Sun, 3 Aug 1997 19:59:29 -0700 (PDT) Received: from opengroup.org (swale.camb.opengroup.org [130.105.3.99]) by postman.opengroup.org (8.8.6/8.8.6) with ESMTP id WAA22601 for ; Sun, 3 Aug 1997 22:59:00 -0400 (EDT) Message-Id: <199708040259.WAA22601@postman.opengroup.org> To: new-httpd@apache.org Subject: Re: mod_perl and exit In-reply-to: Your message of "Sat, 02 Aug 1997 17:22:52 EDT." <3.0.3.32.19970802172252.00891800@localhost> Date: Sun, 03 Aug 1997 22:58:58 -0400 From: Doug MacEachern Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Brian Behlendorf wrote: > At 07:33 PM 8/2/97 -0400, you wrote: > >Is there a need for some kind > >of child_done() routine? Or a new handler return code, say > >`TERMINATE' which tells httpd to finish up logging, protocol, > >child_exit, etc.? > > This sounds okay, but what if the perl interpretation is done as a > subrequest? If it's, say, an SSI page, and it makes two calls to perl > interpretations, and the first of those two says child_done, will the > second get called? I think all sub-requests will happen before the child sees that requests_this_child >= max_requests_per_child and bails out. -Doug