Added content connect timeout
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 16:50:47 +0000 (12:50 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Mon, 1 Oct 2012 19:40:43 +0000 (15:40 -0400)
commit01a9e912aed0a56ef65a30eb60902de8905c5d3f
tree0e3b8691471063dad8bff69aae51b165d0ee6c27
parent230980b87638b1339dd378a19ec90aad5e84ab9d
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