perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Karasik <dmi...@karasik.eu.org>
Subject Re: [mp2] mod_perl closes apache's stdin and/or stdout
Date Wed, 03 Oct 2007 07:07:22 GMT
> 
> 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


Mime
View raw message