[Catalyst-commits] r11124 - in Catalyst-Runtime/5.80/trunk: . lib/Catalyst/Engine

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Tue Aug 11 22:32:47 GMT 2009


Author: t0m
Date: 2009-08-11 22:32:47 +0000 (Tue, 11 Aug 2009)
New Revision: 11124

Modified:
   Catalyst-Runtime/5.80/trunk/Changes
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/HTTP.pm
Log:
Apply patch from RT#48623 to fix headers in Engine::HTTP

Modified: Catalyst-Runtime/5.80/trunk/Changes
===================================================================
--- Catalyst-Runtime/5.80/trunk/Changes	2009-08-11 22:08:21 UTC (rev 11123)
+++ Catalyst-Runtime/5.80/trunk/Changes	2009-08-11 22:32:47 UTC (rev 11124)
@@ -12,6 +12,8 @@
        - In tests which depend on the values of environment variables,
          localise the environment, then delete only relevant environment
          variables (RT#48555)
+       - Fix issue with Engine::HTTP not sending headers properly in some cases
+         (RT#48623)
 
   Refactoring / cleanups:
        - Deleted the Restarter engine and its Watcher code. Use the

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/HTTP.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/HTTP.pm	2009-08-11 22:08:21 UTC (rev 11123)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/HTTP.pm	2009-08-11 22:32:47 UTC (rev 11124)
@@ -159,7 +159,7 @@
     # Prepend the headers if they have not yet been sent
     if ( $self->_has_header_buf ) {
         $self->_warn_on_write_error(
-            $self->$orig($self->_clear_header_buf)
+            $self->$orig($c, $self->_clear_header_buf)
         );
     }
 




More information about the Catalyst-commits mailing list