[interchange] Fix very slow redirects from within Autoload (RT #342).
Stefan Hornburg
interchange-cvs at icdevgroup.org
Wed Jan 5 00:28:45 UTC 2011
commit d93bd905d2e3d0ef69a961442a11995a57b2d6cb
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Tue Jan 4 19:25:44 2011 -0500
Fix very slow redirects from within Autoload (RT #342).
lib/Vend/Dispatch.pm | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/Dispatch.pm b/lib/Vend/Dispatch.pm
index d19a495..5e51762 100644
--- a/lib/Vend/Dispatch.pm
+++ b/lib/Vend/Dispatch.pm
@@ -1667,7 +1667,10 @@ EOF
for my $routine (@{$Vend::Cfg->{DispatchRoutines}}) {
$routine->();
- return if $Vend::Sent;
+ if ($Vend::Sent) {
+ close_cat();
+ return;
+ }
}
#show_times("end DispatchRoutines") if $Global::ShowTimes;
More information about the interchange-cvs
mailing list