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 will it run after all requests made on
>> this connection finish?
> 
> 
> It will run after each request regardless the connection type.
> 
> In mp2 it's possible to register a cleanup handler that will run only at
> the end of the connection.
> 

if you're feeling adventuresome you can do it in mp1 as well

http://www.modperlcookbook.org/~geoff/modules/experimental/Apache-ConnectionCleanup-0.01.tar.gz

:)

--Geoff

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to