mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-02-09 19:31:06 +01:00
MINOR: mux-h2/trace: only decode the start-line at verbosity other than "minimal"
This is as documented in "trace h2 verbosity", level "minimal" only features flags and doesn't perform any decoding at all, "simple" does, just like "clean" which is the default for end uesrs.
This commit is contained in:
parent
f7dd5191cd
commit
94f1dcf119
@ -525,7 +525,7 @@ static void h2_trace(enum trace_level level, uint64_t mask, const struct trace_s
|
||||
else
|
||||
htx = NULL;
|
||||
|
||||
if (level == TRACE_LEVEL_USER && htx && (pos = htx_get_head(htx)) != -1) {
|
||||
if (level == TRACE_LEVEL_USER && src->verbosity != H2_VERB_MINIMAL && htx && (pos = htx_get_head(htx)) != -1) {
|
||||
const struct htx_blk *blk = htx_get_blk(htx, pos);
|
||||
const struct htx_sl *sl = htx_get_blk_ptr(htx, blk);
|
||||
enum htx_blk_type type = htx_get_blk_type(blk);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user