[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. faef2103824e0794cf149f7e5cb2c6787258be24
Evergreen Git
git at git.evergreen-ils.org
Mon Aug 17 21:43:01 EDT 2015
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_8 has been updated
via faef2103824e0794cf149f7e5cb2c6787258be24 (commit)
from df3f88bcb9435b9732bf2027bc5ff74937bd39c8 (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 faef2103824e0794cf149f7e5cb2c6787258be24
Author: Josh Stompro <stomproj at larl.org>
Date: Fri Jul 24 14:20:21 2015 -0500
LP#1478123: fix leak of file descriptors by Apache workers
Apache backends handling TPAC requests and making requests
of the added content handler were not properly closing
their sockets. This patch adds a close() after the shutdown()
to plug the leak.
Signed-off-by: Josh Stompro <stomproj at larl.org>
Signed-off-by: Galen Charlton <gmc at esilibrary.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 cf8ea00..be1a402 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
@@ -574,7 +574,10 @@ sub added_content_stage2 {
}
}
# To avoid a lot of hanging connections.
- $content->{request}->shutdown(2) if ($content->{request});
+ if ($content->{request}) {
+ $content->{request}->shutdown(2);
+ $content->{request}->close();
+ }
}
}
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list