mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
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@g10code.com>
This commit is contained in:
parent
73d4781e45
commit
46a4a0c0e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user