[open-ils-commits] [GIT] Evergreen ILS branch master updated. 749917f0321016a0959e876dc2601a34b1afbeea

Evergreen Git git at git.evergreen-ils.org
Wed May 1 12:34:34 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  749917f0321016a0959e876dc2601a34b1afbeea (commit)
      from  5693b91de2c70f8383b497790f4bcc7b4c9ce903 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 749917f0321016a0959e876dc2601a34b1afbeea
Author: Jason Stephenson <jstephenson at mvlc.org>
Date:   Wed May 1 12:08:29 2013 -0400

    Improved AC socket fix
    
    This provides better coverage for socket shutdown needs, but intends
    to fix the same issue as the previous commit.
    
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
index f38c582..b60031a 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
@@ -535,9 +535,9 @@ sub added_content_stage2 {
                     }
                 }
             }
-            # To avoid a lot of hanging connections.
-            $req->shutdown(2);
         }
+        # To avoid a lot of hanging connections.
+        $content->{request}->shutdown(2) if ($content->{request});
     }
 }
 

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list