Merge the branch which gives ->req->remote_user without the deprecation code which...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / HTTP.pm
index b601e26..72de12c 100644 (file)
@@ -388,7 +388,7 @@ sub _handler {
             # this far out, but then again it's only the dev server anyway.
             local $SIG{CHLD} = 'DEFAULT';
 
-            $class->handle_request;
+            $class->handle_request( env => \%ENV );
         }
     
         DEBUG && warn "Request done\n";
@@ -540,8 +540,6 @@ sub _socket_data {
 
 sub _inet_addr { unpack "N*", inet_aton( $_[0] ) }
 
-no Moose;
-
 =head2 options
 
 Options hash passed to the http engine to control things like if keepalive