]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Added content connect timeout
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 16:50:47 +0000 (12:50 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 3 Oct 2012 16:39:32 +0000 (12:39 -0400)
commitceb0735985666f7efee04cdaadfd3b00f6d2a409
treeb597562bf8273d4d99c20070319a23cb97116892
parent8c961dcf893b975b20bcf1db4a1afd95d0f37df5
Added content connect timeout

Make tpac server-side added content lookups exit after a brief timeout
when the apache module is unable to open a connection to its own
top-level hostname (the virtualhost, apache->hostname).

As noted in the code comments, even though we are using Net::Server::NB
(non-blocking), it's only non-blocking in the sense of content
retrieval, not in how it calls connect() under the covers.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm