[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. a2da96edb9d4f22c6d2a1582a77002c5a2023497

Evergreen Git git at git.evergreen-ils.org
Wed May 1 12:33:32 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, rel_2_4 has been updated
       via  a2da96edb9d4f22c6d2a1582a77002c5a2023497 (commit)
      from  15af9254759d55ea4cad2f36d1d7bbcdb56bfc0b (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 a2da96edb9d4f22c6d2a1582a77002c5a2023497
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