1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch c4e8a3194d
dirmngr: Use one context for all libdns queries.
* dirmngr/dns-stuff.c (libdns_reinit_pending): New var.
(enable_recursive_resolver): Set var.
(set_dns_nameserver): Ditto.
(libdns_init): Avoid double initialization.
(libdns_deinit): New.
(reload_dns_stuff): New.
(libdns_res_open): Act upon LIBDNS_REINIT_PENDING.
* dirmngr/t-dns-stuff.c (main): Call reload_dns_stuff to release
memory.
* dirmngr/dirmngr.c (cleanup): Ditto.
(dirmngr_sighup_action): Call reload_dns_stuff to set
LIBDNS_REINIT_PENDING.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-12-16 21:00:14 +01:00
..
2010-12-14 19:17:58 +00:00
2016-09-17 15:57:31 +09:00
2016-09-17 15:57:31 +09:00
2016-11-17 10:14:14 +01:00
2016-12-14 15:56:58 +01:00
2016-12-14 15:56:58 +01:00
2016-12-14 16:17:03 +09:00
2014-03-07 19:00:31 +01:00
2010-06-09 16:53:51 +00:00
2016-12-08 19:02:56 +01:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2010-06-09 16:53:51 +00:00