Back out 11979 until I work out why IPC::Run is getting hold of the FCGI file handle
Tomas Doran [Thu, 26 Nov 2009 01:21:22 +0000 (01:21 +0000)]
Changes
lib/Catalyst/Engine/FastCGI.pm

diff --git a/Changes b/Changes
index 012815c..39e13af 100644 (file)
--- a/Changes
+++ b/Changes
@@ -6,8 +6,6 @@
      upgraded, may get upgraded even after they are encoded, and will
      produce the same output either way, but bytes::length returns too big
      values for upgraded strings containing characters >127
-   - Make FastCGI compatible with modules which use the fileno call to
-     determine if a file is open (E.g. IPC::Run)
 
   Refactoring / cleanups:
    - NoTabs and Pod tests moved to t/author so that they're not run
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();