[Rt-commit] r3692 - in rt/branches/3.5-TESTING: .
lib/RT/Interface/Web
jesse at bestpractical.com
jesse at bestpractical.com
Thu Aug 18 17:54:58 EDT 2005
Author: jesse
Date: Thu Aug 18 17:54:57 2005
New Revision: 3692
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/lib/RT/Interface/Web/Standalone.pm
Log:
r13219 at hualien: jesse | 2005-08-18 15:43:47 -0400
r13204 at hualien: jesse | 2005-08-18 14:27:47 -0400
r13154 at hualien: jesse | 2005-08-17 19:14:26 -0400
* Fixes to standalone webserver for mason 1.30
Modified: rt/branches/3.5-TESTING/lib/RT/Interface/Web/Standalone.pm
==============================================================================
--- rt/branches/3.5-TESTING/lib/RT/Interface/Web/Standalone.pm (original)
+++ rt/branches/3.5-TESTING/lib/RT/Interface/Web/Standalone.pm Thu Aug 18 17:54:57 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