Hi, while testing the PerlCleanupHandler:

<%init>
$r->push_handlers(PerlCleanupHandler => \&sleeptest);
                                         
sub sleeptest {                          
    my $r = shift;                       
    $r->warn("BEFORE SLEEP"); 
    sleep(10);
    $r->warn("AFTER SLEEP");
    }; 
</%init>

I've noticed that the page only finishes loading after the 
PerlCleanupHandler has completely executed. A per the documentation the 
cleanup is code is supposed to happen after the client is gone, not 
while he's waiting.

Is there some other, possibly mason-specific, issue at play here?

Thanks,

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to