Added content connect timeout
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 16:50:47 +0000 (12:50 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 16:53:25 +0000 (12:53 -0400)
commit840d3da965606ef69dc02c04e88f92a28332f3b7
tree7e4419127bd71076ec392043365606484b53b183
parent4a2a2d03991ec30a2a61d71dca690b90ac84a30a
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm