[Rt-devel] using standalone httpd to debug RT slowness
Vivek Khera
vivek at khera.org
Tue Sep 7 12:42:24 EDT 2004
On Sep 7, 2004, at 11:19 AM, Vivek Khera wrote:
> There is a noticeable pause between the two lines. The curious part
> is that NewCGIHandler *is* defined in RT/Interface/Web/Handler.pm
> which was obviously just loaded.
>
Well, it becomes obvious once you stop staring at it for a while...
wrong package name!
--- standalone_httpd Fri Sep 3 16:08:51 2004
+++ /tmp/standalone_httpd Tue Sep 7 12:40:50 2004
@@ -12,7 +12,7 @@
my $port = shift || '8080';
if ( @RT::MasonParameters) {} # Shut up the warnings;
-my $h = &RT::Interface::Web::NewCGIHandler(@RT::MasonParameters);
+my $h =
&RT::Interface::Web::Handler::NewCGIHandler(@RT::MasonParameters);
main_loop($port);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2476 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20040907/c0a99a39/smime.bin
More information about the Rt-devel
mailing list