mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-08 16:23:24 -04:00
MINOR: check: Don't dump buffers state in check traces for external checks
In healthcheck trace messages, there is no reason to dump the in/out buffers state for external checks. So let's skip this part in that case.
This commit is contained in:
parent
4b9c8b24c5
commit
3daf4498f3
1 changed files with 3 additions and 0 deletions
|
|
@ -232,6 +232,9 @@ static void check_trace(enum trace_level level, uint64_t mask,
|
|||
chunk_appendf(&trace_buf, " sc=%p(0x%08x)", check->sc, check->sc->flags);
|
||||
}
|
||||
|
||||
if (check->type != PR_O2_TCPCHK_CHK)
|
||||
return;
|
||||
|
||||
if (mask & CHK_EV_TCPCHK) {
|
||||
const char *type;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue