darren chamberlain wrote:

> Jonas Liljegren <[EMAIL PROTECTED]> said something to this effect on 09/13/2001:
> 
>>My problem came with the use of mod_perl.  Apache started up a
>>new process that died, in an endless loop.  I can't put an exit
>>in a mod_perl handler.
>>
> 
> You must be running a very old version of mod_perl then, or
> called CORE::exit specifically.  Apache.pm overrides exit so it
> doesn't do what you are discussing.  I thinkn this was added to
> mod_perl somewhere around version 1.16.


That's correct only for Registry and friends. In pure handlers you have 
to explicitly call Apache::exit:

http://perl.apache.org/guide/porting.html#Terminating_requests_and_process




_____________________________________________________________________
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