From 749917f0321016a0959e876dc2601a34b1afbeea Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 1 May 2013 12:08:29 -0400 Subject: [PATCH] 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 Signed-off-by: Mike Rylander --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 f38c5822be..b60031ad58 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}); } } -- 2.43.2