mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 21:16:09 +02:00
DEBUG: haterm: Add hstream flags in the trace messages
It could be useful to know the hstream state on debugging sessions.
This commit is contained in:
parent
6e7802ca36
commit
a68b96ad36
@ -143,8 +143,8 @@ static void hterm_trace(enum trace_level level, uint64_t mask, const struct trac
|
||||
|
||||
chunk_appendf(&trace_buf, " hs@%p ", hs);
|
||||
if (hs) {
|
||||
chunk_appendf(&trace_buf, " res=%u req=%u req_size=%llu to_write=%llu req_body=%llu",
|
||||
(unsigned int)b_data(&hs->res), (unsigned int)b_data(&hs->res),
|
||||
chunk_appendf(&trace_buf, " flags=0x%04x res=%u req=%u req_size=%llu to_write=%llu req_body=%llu",
|
||||
hs->flags, (unsigned int)b_data(&hs->res), (unsigned int)b_data(&hs->res),
|
||||
hs->req_size, hs->to_write, hs->req_body);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user