Skip to content
Snippets Groups Projects
Commit 7819bc2e authored by Daniel Salzman's avatar Daniel Salzman
Browse files

kdig: print HTTP instead of HTTPS

parent e1a464d2
No related branches found
No related tags found
No related merge requests found
Pipeline #77934 failed
/* Copyright (C) 2020 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 2021 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -564,7 +564,7 @@ void print_https(const https_ctx_t *ctx)
if (!ctx || !ctx->authority || !ctx->path) {
return;
}
printf(";; HTTPS session (HTTP/2-%s)-(%s%s)-(status: %lu)\n",
printf(";; HTTP session (HTTP/2-%s)-(%s%s)-(status: %lu)\n",
ctx->params.method == POST ? "POST" : "GET", ctx->authority,
ctx->path, ctx->status);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment