[Rt-commit] r3667 - in rt/branches/3.4-RELEASE: . lib/RT/Interface/Web

jesse at bestpractical.com jesse at bestpractical.com
Wed Aug 17 22:04:12 EDT 2005


Author: jesse
Date: Wed Aug 17 22:04:12 2005
New Revision: 3667

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm
Log:
 r13154 at hualien:  jesse | 2005-08-17 19:14:26 -0400
 * Fixes to standalone webserver for mason 1.30


Modified: rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm	Wed Aug 17 22:04:12 2005
@@ -5,6 +5,7 @@
 use RT::Interface::Web::Handler;
 use RT::Interface::Web;
 
+
 sub new_handler {
    my $m;
    $m=  RT::Interface::Web::Handler->new(@RT::MasonParameters,
@@ -21,7 +22,7 @@
             # Send headers if they have not been sent by us or by user.
             # We use instance here because if we store $request we get a
             # circular reference and a big memory leak.
-                unless ($r->http_header_sent) {
+                unless ($m->{'http_header_sent'}) {
                        $r->send_http_header();
                 }
             {


More information about the Rt-commit mailing list