Added content connect timeout
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 16:50:47 +0000 (12:50 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 3 Oct 2012 17:02:25 +0000 (13:02 -0400)
commitd901743bf59c5d4c9886cbb0a9c40fabd9df1d2a
tree3935f1b73295db10ded90b91f2ce9d92470e0311
parentf77ae40f3dc3da2670ee280d3e6092a75d3d3114
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