X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine.pm;h=ee4477a8243fd09dc904777e39b3a06700e32823;hb=3da8d2d4a2af0295341d9c51a90df256ed41099e;hp=62dc3bcf3c8894869d40ff00f0b4b7e3de9e818d;hpb=c821df216d6d7e7e0386516e43c0c09fd4a295e7;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index 62dc3bc..ee4477a 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -304,7 +304,8 @@ sub finalize_error { - # Trick IE + # Trick IE. Old versions of IE would display their own error page instead + # of ours if we'd give it less than 512 bytes. $c->res->{body} .= ( ' ' x 512 ); # Return 500 @@ -752,10 +753,10 @@ Start the engine. Implemented by the various engine classes. sub run { my ($self, $app, $server, @args) = @_; # FIXME - Do something sensible with the options we're passed - $server->run($self->_build_psgi_app($app, @args)); + $server->run($self->build_psgi_app($app, @args)); } -sub _build_psgi_app { +sub build_psgi_app { my ($self, $app, @args) = @_; my $psgi_app = sub {