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:
Christopher Faulet 2026-06-04 21:50:11 +02:00
parent 4b9c8b24c5
commit 3daf4498f3

View file

@ -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;