[Pkg-gnupg-commit] [gnupg2] 60/116: dirmngr: Implement debug option "network" for http.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Jan 24 04:40:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit da894c48ec3393e7c815f575daa5a52ab37cc102
Author: Werner Koch <wk at gnupg.org>
Date: Wed Jan 11 10:35:46 2017 +0100
dirmngr: Implement debug option "network" for http.
* dirmngr/dirmngr.c (parse_rereadable_options): Set http debugging.
Signed-off-by: Werner Koch <wk at gnupg.org>
---
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 f50e935..92984b6 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 4448bf0..e27157c 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list