From: <mpc...@li...> - 2003-05-14 16:49:35
|
Not got much time to look now but maybe multiple passes over the modules might be a good solution. modules needing to cause an internal redirect could modify the url during an earlier phase. say the "Request Manipulation" phase. (Modules could register an interest= in what phases they are interested in) If the modules needing to do redirects could register interest in being called during the request manipulation phase then no performance hit woul= d be taken for modules not needing to do internal redirects. The advantage with this phase approach where you don't do everything in one handle method - is that you wouldn't need to re-iterate the modules if the last module needs to do a redirect because the real handling get's= done a later phase. Later, Matt. >-- Original Message -- >From: Alexander Mueller <alexm> >To: ins...@li... >Subject: [insomnia-httpd-devel] Internal Redirects >Reply-To: ins...@li... >Date: Wed, 14 May 2003 18:03:42 +0200 (MEST) > >The current way of handling internal redirects is done by throwing a >RedirectedException, which reinitialises the handler enumeration again and >iterates >through all once more. I do not think this is the ideal way of doing it,= >so >does anyone have suggestion about improving it? > >This applies to the prototype code at >http://insomnia-httpd.sourceforge.net/insomnia.zip. > >Thanks, >Alexander > >-- >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ >Bitte l=E4cheln! Fotogalerie online mit GMX ohne eigene Homepage! > > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise solutions= >www.enterpriselinuxforum.com > >_______________________________________________ >insomnia-httpd-devel mailing list >ins...@li... >https://lists.sourceforge.net/lists/listinfo/insomnia-httpd-devel |