Fixed bug in FastCGI proc manager mode where pm_post_dispatch was not run
Andy Grundman [Sun, 5 Feb 2006 22:46:02 +0000 (22:46 +0000)]
Changes
lib/Catalyst/Engine/FastCGI.pm

diff --git a/Changes b/Changes
index f990611..d075386 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,8 @@
 This file documents the revision history for Perl extension Catalyst.
 
 5.64
+        - Fixed bug in FastCGI proc manager mode where pm_post_dispatch
+          was not run. (Eric Wong)
         - Cleaned up generated tests
         - Updated YAML support to use ConfigLoader
         - Fixed path dispatch to canonicalise correctly
index 56eec8b..f71049c 100644 (file)
@@ -102,7 +102,7 @@ sub run {
     while ( $request->Accept >= 0 ) {
         $proc_manager && $proc_manager->pm_pre_dispatch();
         $class->handle_request( env => \%env );
-        $proc_manager && $proc_manager->pm_pre_dispatch();
+        $proc_manager && $proc_manager->pm_post_dispatch();
     }
 }