From da894c48ec3393e7c815f575daa5a52ab37cc102 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 11 Jan 2017 10:35:46 +0100 Subject: [PATCH] dirmngr: Implement debug option "network" for http. * dirmngr/dirmngr.c (parse_rereadable_options): Set http debugging. Signed-off-by: Werner Koch --- dirmngr/dirmngr.c | 1 + doc/dirmngr.texi | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c index f50e935b8..92984b66a 100644 --- a/dirmngr/dirmngr.c +++ b/dirmngr/dirmngr.c @@ -651,6 +651,7 @@ parse_rereadable_options (ARGPARSE_ARGS *pargs, int reread) } set_dns_verbose (opt.verbose, !!DBG_DNS); + http_set_verbose (opt.verbose, !!DBG_NETWORK); return 1; /* Handled. */ } diff --git a/doc/dirmngr.texi b/doc/dirmngr.texi index 4448bf0e6..e27157c00 100644 --- a/doc/dirmngr.texi +++ b/doc/dirmngr.texi @@ -198,9 +198,11 @@ however carefully selected to best aid in debugging. @item --debug @var{flags} @opindex debug -This option is only useful for debugging and the behavior may change at -any time without notice. FLAGS are bit encoded and may be given in -usual C-Syntax. +Set debugging flags. This option is only useful for debugging and its +behavior may change with a new release. All flags are or-ed and may +be given in C syntax (e.g. 0x0042) or as a comma separated list of +flag names. To get a list of all supported flags the single word +"help" can be used. @item --debug-all @opindex debug-all