From 46a4a0c0e77e19f9589088bb87357c33142c3f04 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 19 Jul 2017 12:12:49 +0200 Subject: [PATCH] dirmngr: Fix connecting to http proxies. * dirmngr/http.c (send_request): Do not use the 'srvtag' intended for the target host to connect to the http proxy. Signed-off-by: Justus Winter --- dirmngr/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dirmngr/http.c b/dirmngr/http.c index b5b0e9dbf..b63beb6df 100644 --- a/dirmngr/http.c +++ b/dirmngr/http.c @@ -1788,7 +1788,7 @@ send_request (http_t hd, const char *httphost, const char *auth, err = connect_server (*uri->host ? uri->host : "localhost", uri->port ? uri->port : 80, - hd->flags, srvtag, timeout, &sock); + hd->flags, NULL, timeout, &sock); http_release_parsed_uri (uri); } else