On 1 Jun 2001, [EMAIL PROTECTED] wrote:

> OK, I think I have solved this problem, but I would like to run my solution by
> you folks, and see if it makes any sense. What we found, on a more thorough
> code review, was that a number of the handlers were doing a redirect by calling
> send_cgi_header, and then exit()'ing. It seemed to us that the exit would kill
> the Perl interp, and the Apache child would then just keep serving whatever it
> had in its buffer at the time. Does that make any sense? If so, will die() have
> the same results? I started grepping for exit everywhere, and removed it, but
> along the way I saw a number of places that we're calling die.

I don't think it makes any sense. Also you could look at the handlers
running for each request using Apache::ShowRequest. I think it's mentioned
somewhere in the guide too.

> I expect that this is just a really stupid newbie problem - I've only been
> doing mod_perl stuff for about 6 months or so. And, in fact, once it occurred
> to me that this might be the problem, of course I found it in the FAQ.
>
> --
> Rich Bowen - Author - Apache Server Unleashed
> http://www.apacheunleashed.com/
>
>



_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Reply via email to