> Hi, > > I have an embperl page that does some stuff, and then spits out a > redirect using $http_headers_out{'Location'}. From > http://perl.apache.org/embperl/pod/doc/Embperl.-page-4-.htm it was my > understanding that any code I defined in a CLEANUP subroutine would be > run after the response was sent to the client, however when I've > tested it by putting in the page [! sub CLEANUP { sleep 15; } !] the > redirect isn't issued for 15 seconds. Please would somebody take pity > on me and explain what I'm missing? >
You don't miss anything. The docs describes how it should be and how it was in Embperl 1.3. This behaviour seems to be broken in 2.0. To verify this could just try to set the dbgFlushOutput flag in Embperl_Debug. Does this change anything (other than the fact that everything gets slower)? If yes, I should be able to fix it. Regards Gerald --------------------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW: http://www.ecos.de/ Fax: +49 6133 939-333 --------------------------------------------------------------------------- ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info --------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]