in reply to Re: Re: Re: Don't understand END blocks in mod_perl
in thread Don't understand END blocks in mod_perl
The connection will close when the handle goes out of scope, but for global handles that doesn't happen at the right time. So I'd like to have an END block kicked off when the child exits (not when the request completes, that's too soon; not when the server exits, that's too late).
What I may be missing is just what happens to a child when you do a "killall -HUP httpd"; I believe the child exits and a new one takes its place. However, the END blocks are not run, apparently.
| -- | |||||||
|
| ||||||
| ...Nexcerpt...Connecting People With Expertise | |||||||
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Don't understand END blocks in mod_perl
by perrin (Chancellor) on Sep 26, 2003 at 15:37 UTC | |
|
Re: Re: Re: Re: Re: Don't understand END blocks in mod_perl
by CountZero (Bishop) on Sep 26, 2003 at 21:51 UTC |