diff options
author | Werner Koch <[email protected]> | 2017-01-11 09:34:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-01-11 09:42:44 +0000 |
commit | 02ab4b0085f8b4cdfe163d25ddd0fc80753d7f4a (patch) | |
tree | 859d9f21abba58c209913987cd003ab22254baea /dirmngr/dirmngr.c | |
parent | common: New function log_debug_with_string. (diff) | |
download | gnupg-02ab4b0085f8b4cdfe163d25ddd0fc80753d7f4a.tar.gz gnupg-02ab4b0085f8b4cdfe163d25ddd0fc80753d7f4a.zip |
dirmngr: Add debug code to http.c.
* dirmngr/http.c (opt_verbose, opt_debug): New vars.
(http_set_verbose): New function.
(_my_socket_new): Add debug output.
(_my_socket_ref, _my_socket_unref, session_unref): Call log_debug if
OPT_DEBUG has ben set to 2 in a debugger.
(http_session_new, http_session_ref): Ditto.
(send_request, http_start_data): Print debug output for the request.
(parse_response): Change to use log_debug_string for the response.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions