cleanup handlers and persistent connections

2004-05-10 Thread Perrin Harkins
I think I know the answer to this, but I want to confirm it: if I register a cleanup handler for a request, and the client is using keep-alive or HTTP 1.1 persistent connections, will my handler run after the current request finishes, or will it run after all requests made on this connection finish

Re: cleanup handlers and persistent connections

2004-05-10 Thread Stas Bekman
Perrin Harkins wrote: I think I know the answer to this, but I want to confirm it: if I register a cleanup handler for a request, and the client is using keep-alive or HTTP 1.1 persistent connections, will my handler run after the current request finishes, or will it run after all requests made on

Re: cleanup handlers and persistent connections

2004-05-10 Thread Geoffrey Young
Stas Bekman wrote: > Perrin Harkins wrote: > >> I think I know the answer to this, but I want to confirm it: if I >> register a cleanup handler for a request, and the client is using >> keep-alive or HTTP 1.1 persistent connections, will my handler run after >> the current request finishes, or w

Re: cleanup handlers and persistent connections

2004-05-10 Thread Perrin Harkins
On Mon, 2004-05-10 at 14:48, Stas Bekman wrote: > It will run after each request regardless the connection type. Thanks for the confirmation. - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apach

Re: cleanup handlers and persistent connections

2004-05-10 Thread modperl
I have a related question. I am using IPC::MM to pass shared information between children in mod_perl, Apache 1.3, which is recommended by e.g. Perrin several times on the list. The memory can be cleaned up or re-use under a normal Perl program by mm_destroy($mm). In mod_perl, is there a way to