projects
/
haproxy-2.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06744f6
)
MINOR: h2/trace: also display the remaining frame length in traces
author
Willy Tarreau
<w@1wt.eu>
Fri, 18 Sep 2020 05:39:29 +0000
(07:39 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Wed, 23 Sep 2020 07:37:33 +0000
(09:37 +0200)
It's often missing when debugging, even though it's often zero for
control frames or after data are consumed.
(cherry picked from commit
8520d87198fa0682816f1d8ebcc831ecd0bfba5d
)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit
563be0e196c32685514d55331281a23c918cb1c5
)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/mux_h2.c
patch
|
blob
|
history
diff --git
a/src/mux_h2.c
b/src/mux_h2.c
index
ee2b309
..
a0f73ad
100644
(file)
--- a/
src/mux_h2.c
+++ b/
src/mux_h2.c
@@
-510,7
+510,7
@@
static void h2_trace(enum trace_level level, uint64_t mask, const struct trace_s
if (h2c->dsi >= 0 &&
(mask & (H2_EV_RX_FRAME|H2_EV_RX_FHDR)) == (H2_EV_RX_FRAME|H2_EV_RX_FHDR)) {
- chunk_appendf(&trace_buf, " dft=%s/%02x", h2_ft_str(h2c->dft), h2c->dff);
+ chunk_appendf(&trace_buf, " dft=%s/%02x dfl=%d", h2_ft_str(h2c->dft), h2c->dff, h2c->dfl);
}
if (h2s) {