On Sat, Jan 05, 2008 at 08:59:31AM -0800, Marc Mims wrote:
> * Louis-David Mitterrand <[EMAIL PROTECTED]> [080105 05:50]:
> > 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?
> 
> Sounds like you may be running into the same issue I was some time ago.
> See if this thread helps:
> http://marc.info/?l=mason&m=112491052517434&w=2

Yep, right on!

Did you find a way to deactivate KeepAlive on per-request basis?

Thanks for you help,

-------------------------------------------------------------------------
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