Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 12328 invoked from network); 3 Oct 2007 07:08:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2007 07:08:31 -0000 Received: (qmail 30589 invoked by uid 500); 3 Oct 2007 07:08:20 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 30576 invoked by uid 500); 3 Oct 2007 07:08:20 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 30563 invoked by uid 99); 3 Oct 2007 07:08:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 00:08:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [129.142.67.14] (HELO tetsuo.karasik.eu.org) (129.142.67.14) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 07:08:20 +0000 Received: by tetsuo.karasik.eu.org (Postfix, from userid 1003) id B79DF616A91; Wed, 3 Oct 2007 09:07:22 +0200 (CEST) Date: Wed, 3 Oct 2007 09:07:22 +0200 From: Dmitry Karasik To: Torsten Foertsch Cc: dev@perl.apache.org, Fred Moyer Subject: Re: [mp2] mod_perl closes apache's stdin and/or stdout Message-ID: <20071003070722.GA50001@tetsuo.karasik.eu.org> References: <20071001144957.GA38758@tetsuo.karasik.eu.org> <4701261D.9090104@taperfriendlymusic.org> <20071002065444.GA86458@tetsuo.karasik.eu.org> <200710022016.26111.torsten.foertsch@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200710022016.26111.torsten.foertsch@gmx.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 6.2-STABLE X-Virus-Checked: Checked by ClamAV on apache.org > > 0) cd ModPerl-Registry/ > 1) start the testsuite with t/TEST -start-httpd > 2) kill all apache children (workers). The supervisor apache should respawn > new children. > 3) Then run your test: t/TEST -run-tests -verbose t/stdin.t No, it doesn't, it passes. I tried both with and without 2), same results, both succeed. > I hope it fails this way. If yes then maybe a way to construct a proper test > is to add a new vhost with very limited MaxRequestsPerChild (1 or 2) The key here is to make apache to fork a cgi process from the process (or its parent) that has called modperl_response_handler_cgi() before. -- Sincerely, Dmitry Karasik --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org