Home GnuPG
Diffusion GnuPG 8b90d7981835

http: Allow overriding of the Host header.
8b90d7981835Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

http: Allow overriding of the Host header.

* common/http.c (http_open): Add arg httphost.
(http_open_document): Pass NULL for httphost.
(send_request): Add arg httphost.  If given, use HTTPHOST instead of
SERVER.  Use https with a proxy if requested.
(http_verify_server_credentials): Do not stop at the first error
message.
* dirmngr/ocsp.c (do_ocsp_request): Adjust call to http_open.
* keyserver/curl-shim.c (curl_easy_perform): Ditto.
* dirmngr/ks-engine-http.c (ks_http_fetch): Ditto.
* dirmngr/ks-engine-hkp.c (ks_hkp_help): Ditto.

Details

Provenance
wernerAuthored on May 16 2014, 8:58 PM
Parents
rG25036ec6abbc: gpg: Fix uninitialized access to search descindex with gpg keyboxes.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG8b90d7981835: http: Allow overriding of the Host header. (authored by Werner Koch <wk@gnupg.org>).May 16 2014, 9:01 PM