mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
dirmngr: Avoid initial delay on the first keyserver access.
* dirmngr/dirmngr.c (dirmngr_never_use_tor_p): New. * dirmngr/server.c (ensure_keyserver): Don't even test for the Tor proxy in never-use-tor Mode. * tools/gpgtar-create.c: Include unistd.h to avoid a warning on Windows. -- This delay of 2 or 3 seconds is in particular annoying on Windows. This is now suppressed, as it should be, if --no-use-tor is used. The second patch is unrelated
This commit is contained in:
parent
d426ed66ac
commit
dde88897e2
4 changed files with 13 additions and 3 deletions
|
@ -224,6 +224,7 @@ void dirmngr_deinit_default_ctrl (ctrl_t ctrl);
|
|||
void dirmngr_sighup_action (void);
|
||||
const char* dirmngr_get_current_socket_name (void);
|
||||
int dirmngr_use_tor (void);
|
||||
int dirmngr_never_use_tor_p (void);
|
||||
|
||||
/*-- Various housekeeping functions. --*/
|
||||
void ks_hkp_housekeeping (time_t curtime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue