projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e45d7d
)
Use hostport, not ipport for proxied connections
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 Oct 2010 08:06:34 +0000
(10:06 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 Oct 2010 08:06:34 +0000
(10:06 +0200)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
643f1a7
..
c55785d
100644
(file)
--- 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);