From: Adam Dickmeiss Date: Tue, 5 Oct 2010 08:06:34 +0000 (+0200) Subject: Use hostport, not ipport for proxied connections X-Git-Tag: v1.5.0~1 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=0957a305eabb2fb6379dc99748a5b2122bb5ff51;p=pazpar2-moved-to-github.git Use hostport, not ipport for proxied connections --- diff --git a/src/connection.c b/src/connection.c index 643f1a7..c55785d 100644 --- a/src/connection.c +++ b/src/connection.c @@ -432,6 +432,8 @@ static int connection_connect(struct connection *con, iochan_man_t iochan_man) strcat(http_hostport, host->hostport); ZOOM_connection_connect(link, http_hostport, 0); } + else if (zproxy && *zproxy) + ZOOM_connection_connect(link, host->hostport, 0); else ZOOM_connection_connect(link, host->ipport, 0);