[Rt-commit] r3682 - in rt/branches/CHALDEA-EXPERIMENTAL: .
lib/RT/Interface/Web
jesse at bestpractical.com
jesse at bestpractical.com
Thu Aug 18 16:33:19 EDT 2005
Author: jesse
Date: Thu Aug 18 16:33:18 2005
New Revision: 3682
Modified:
rt/branches/CHALDEA-EXPERIMENTAL/ (props changed)
rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/Interface/Web/Standalone.pm
Log:
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/CHALDEA-EXPERIMENTAL/lib/RT/Interface/Web/Standalone.pm
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/Interface/Web/Standalone.pm (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/Interface/Web/Standalone.pm Thu Aug 18 16:33:18 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