Re: [Sqlrelay-discussion] FastCgi and SqlRelay?
Brought to you by:
mused
|
From: David M. <dav...@fi...> - 2008-04-30 20:15:27
|
I'm really not sure. It probably wouldn't be a C++ thing though, rather a FastCGI thing. It's possible that the fastcgi framework might throw an exception. I believe that the apache module api provides a way for a function to be called when the page is aborted. If you're using fastcgi as an apache module, then it may implement that function and provide it's own callback that you'd override or may raise an exception. I don't know fastcgi well enough though to say. Dave On Wed, 2008-04-30 at 08:29 -0600, TazaTek wrote: > In C++, what would be the equivalent of a register_shutdown_function()?? > > Would this be a try-catch block? Or do I need to register a signal? Or... ??? > > I'm not sure of what happens when a user aborts the connection.... could you shed some light on this? > > Thanks > > Matt > > > > >> If so, the only issue that I know of is that you really need to make > >> sure that you handle page aborts carefully. > > >> See http://sqlrelay.sourceforge.net/sqlrelay/faq.html#php for > >> PHP-specific info. The same may apply to fastcgi. > > >> Dave > >> dav...@fi... > > > On Thu, 2008-04-24 at 13:24 -0600, TazaTek wrote: > > > > > > Hello all! > > > > > > > > I was wondering if there were any problems in mixing fastcgi and > > sqlrelay? It seems that they both handle some of the speed > > performance mechanisms that are required of a web server, but I didn’t > > know if there were any problems in mixing the two. > > > > > > > > Thanks > > > > > > > > Matt > > > > -- > > > > Matthew Kettlewell > > > > President - TazaTek > > > > www.TazaTek.com > > > > www.Pairs-List.com > > > > 970-985-4192 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > __________________________________________________ > D O T E A S Y - "Join the web hosting revolution!" > http://www.doteasy.com __________________________________________________ D O T E A S Y - "Join the web hosting revolution!" http://www.doteasy.com |