X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine.pm;h=2a5f5f7b9ad1615c1558f702f665649b145c054e;hb=00341d8110ed6405a08e717cc38d5931b414e2a0;hp=23a1d3f35400f533023c98c46961eeef347c89d4;hpb=eefb8bd16476a347ff5dc3a5abd188e5a5a520a4;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index 23a1d3f..2a5f5f7 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -46,8 +46,8 @@ has _response_cb => ( ); subtype 'Catalyst::Engine::Types::Writer', - as duck_type([qw(write close)]), - where { 1 }; + as duck_type([qw(write close)]); + has _writer => ( is => 'ro', isa => 'Catalyst::Engine::Types::Writer', @@ -833,6 +833,7 @@ sub run { # instead the $app->handle method is called per request. $app->log->warn("Not supplied a Plack engine, falling back to engine auto-loader (are your scripts ancient?)") } + $app->run_options($options); $server->run($psgi, $options); }