TPAC added content lookup uses local server address user/mrpeters-isl/tpac-ac-lookup-connect-timeout_signoff
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 21:12:11 +0000 (17:12 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Mon, 1 Oct 2012 19:40:49 +0000 (15:40 -0400)
commit2759d70cec980c6fc2ea5a0b45d5a74a6c710c5b
treed40dd76ff16abd9aca06fc8a33edd5730ec62f4b
parent01a9e912aed0a56ef65a30eb60902de8905c5d3f
TPAC added content lookup uses local server address

Use the current Apache server's IP address instead of apache->hostname
to determine where to route TPAC added content lookups.  This allows the
server to handle the added content lookup locally instead of having to
route out and back into the cluster.

Continue using apache->hostname as the Host header to ensure the proper
virtualhost is used once the request is received.

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