diff options
author | Werner Koch <[email protected]> | 2023-09-19 13:04:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-09-26 12:10:13 +0000 |
commit | 1e120f5a8d529150cd0268eb104b8f0d84f7b5ae (patch) | |
tree | 0bbac42974bb74cf8e929b6e7f26865c010b716f /doc/dirmngr.texi | |
parent | dirmngr: Further simplify the http code and improve a message. (diff) | |
download | gnupg-1e120f5a8d529150cd0268eb104b8f0d84f7b5ae.tar.gz gnupg-1e120f5a8d529150cd0268eb104b8f0d84f7b5ae.zip |
dirmngr: Implement automatic proxy detection on Windows.
* dirmngr/http.c [W32]: Include winhttp.h
(w32_get_internet_session): New.
(w32_get_proxy): New.
(get_proxy_for_url): Implement automatic proxy detection and fix error
in last patch.
(http_reinitialize): New.
* dirmngr/dirmngr.c (dirmngr_sighup_action): Call reinitialize.
* dirmngr/Makefile.am (NETLIBS) [W32]: Link with winhttp.
--
GnuPG-bug-id: 5768
Diffstat (limited to 'doc/dirmngr.texi')
-rw-r--r-- | doc/dirmngr.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/dirmngr.texi b/doc/dirmngr.texi index 398888e71..cd7969828 100644 --- a/doc/dirmngr.texi +++ b/doc/dirmngr.texi @@ -427,7 +427,9 @@ force the use of the default responder. @item --honor-http-proxy @opindex honor-http-proxy If the environment variable @env{http_proxy} has been set, use its -value to access HTTP servers. +value to access HTTP servers. If on Windows the option is used but +the environment variable is not set, the proxy settings are taken +from the system. @item --http-proxy @var{host}[:@var{port}] @opindex http-proxy |