Re: 'die' in a CleanupHandler

2003-09-08 Thread Perrin Harkins
On Mon, 2003-09-08 at 21:49, Ray Zimmerman wrote: > I was just considering how to handle it when a serious error occurs > during a CleanupHandler If you want the handler to continue, you have to catch the error yourself using normal methods. > and was wondering what the difference was > between

Re: 'die' in a CleanupHandler

2003-09-08 Thread Ray Zimmerman
At 6:19 PM -0400 9/8/03, Perrin Harkins wrote: On Mon, 2003-09-08 at 16:10, Ray Zimmerman wrote: Just curious ... what happens if I call 'die' in a mod_perl handler (especially a CleanupHandler)? Does it actually kill the apache child or does something catch the exception before that happens? T

Re: 'die' in a CleanupHandler

2003-09-08 Thread Perrin Harkins
On Mon, 2003-09-08 at 16:10, Ray Zimmerman wrote: > Just curious ... what happens if I call 'die' in a mod_perl handler > (especially a CleanupHandler)? Does it actually kill the apache > child or does something catch the exception before that happens? The latter. Your 'die' is caught by mod_p

'die' in a CleanupHandler

2003-09-08 Thread Ray Zimmerman
Just curious ... what happens if I call 'die' in a mod_perl handler (especially a CleanupHandler)? Does it actually kill the apache child or does something catch the exception before that happens? -- Ray Zimmerman / e-mail: [EMAIL PROTECTED] / 428-B Phillips Hall Sr Research / phone: (60