diff options
author | Justus Winter <[email protected]> | 2017-07-19 10:12:49 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-07-19 10:14:25 +0000 |
commit | 46a4a0c0e77e19f9589088bb87357c33142c3f04 (patch) | |
tree | d0ce24fe9e63a0e438f209f4859556e8cab46ed0 /dirmngr/http.c | |
parent | dirmngr: Fix handling of proxy URIs. (diff) | |
download | gnupg-46a4a0c0e77e19f9589088bb87357c33142c3f04.tar.gz gnupg-46a4a0c0e77e19f9589088bb87357c33142c3f04.zip |
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | dirmngr/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |