X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine%2FHTTP.pm;h=0d734567e2fd471a512c4e16b16f18a42076a56f;hb=969647fdbaeeb9231c53350eb980202b379c634a;hp=17187d8426f4415bf92be4822014380452baa0e4;hpb=705e7edffa8357f9cfd9bab1b4c7a79638837ab6;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine/HTTP.pm b/lib/Catalyst/Engine/HTTP.pm index 17187d8..0d73456 100644 --- a/lib/Catalyst/Engine/HTTP.pm +++ b/lib/Catalyst/Engine/HTTP.pm @@ -68,15 +68,15 @@ sub run { $request->uri->host( $request->header('Host') || $base->host ); $request->uri->port( $base->port ); - my $lwp = Catalyst::Engine::Test::LWP->new( + my $http = Catalyst::Engine::Test::HTTP->new( address => $connection->peerhost, hostname => gethostbyaddr( $connection->peeraddr, AF_INET ), request => $request, response => HTTP::Response->new ); - $class->handler($lwp); - $connection->send_response( $lwp->response ); + $class->handler($http); + $connection->send_response( $http->response ); }