[Pkg-gnupg-commit] [gnupg2] 109/185: dirmngr: Fix connecting to http proxies.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Aug 7 11:55:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit 46a4a0c0e77e19f9589088bb87357c33142c3f04
Author: Justus Winter <justus at g10code.com>
Date: Wed Jul 19 12:12:49 2017 +0200
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 <justus at g10code.com>
---
dirmngr/http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dirmngr/http.c b/dirmngr/http.c
index b5b0e9d..b63beb6 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list