Home GnuPG
Diffusion GnuPG 7a663c296e68

dirmngr: Limit the number of cached domains for WKD.

Description

dirmngr: Limit the number of cached domains for WKD.

* dirmngr/domaininfo.c (MAX_DOMAINBUCKET_LEN): New.
(insert_or_update): Limit the length of a bucket chain.
(domaininfo_print_stats): Print just one summary line.

(cherry picked from commit 26f08343fbccdbaa177c3507a3c5e24a5cf94a2d)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 14 2017, 8:37 AM
Parents
rG6c1dcd79cf09: dirmngr: Keep track of domains used for WKD queries
Branches
Unknown
Tags
Unknown