Back out 11979 until I work out why IPC::Run is getting hold of the FCGI file handle
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / FastCGI.pm
index b8e0635..a6e9688 100644 (file)
@@ -144,11 +144,6 @@ sub run {
 
         $self->_fix_env( \%env );
 
-        # hack for perl libraries that use FILENO (e.g. IPC::Run)
-        # trying to patch FCGI.pm, but not got there yet :/
-        local *FCGI::Stream::FILENO = sub { -2 }
-            unless FCGI::Stream->can('FILENO');
-
         $class->handle_request( env => \%env );
 
         $proc_manager && $proc_manager->pm_post_dispatch();