From: Adam Dickmeiss Date: Mon, 2 Mar 2015 09:34:54 +0000 (+0100) Subject: Fix http proxy fails with yaz-client YAZ-824 X-Git-Tag: v5.10.0~6 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=1349cb3d913df6ec4fad5d5f185de8fec01b835e;p=yaz-moved-to-github.git Fix http proxy fails with yaz-client YAZ-824 --- diff --git a/client/client.c b/client/client.c index 7386faa..7a782d0 100644 --- a/client/client.c +++ b/client/client.c @@ -1320,7 +1320,7 @@ static int send_srw_host_path(Z_SRW_PDU *sr, const char *host_port, const char *charset = negotiationCharset; Z_GDU *gdu; - gdu = z_get_HTTP_Request_host_path(out, host_port, path); + gdu = z_get_HTTP_Request_uri(out, host_port, path, yazProxy ? 1 : 0); if (auth) {