From feff6296a12f0a36561927cf8b76fd38253468b9 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 29 Sep 2023 08:39:21 +0200 Subject: [PATCH] MINOR: debug: use the more detailed stream dump in panics Similarly upon a panic we'd like to have a more detailed dump of a stream's state, so let's use the full dump function for this now. --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index 24e9167..84c86d7 100644 --- a/src/debug.c +++ b/src/debug.c @@ -325,7 +325,7 @@ void ha_task_dump(struct buffer *buf, const struct task *task, const char *pfx) s = sc_strm(((struct stconn *)task->context)); if (s) - stream_dump(buf, s, pfx); + strm_dump_to_buffer(buf, s, pfx, HA_ATOMIC_LOAD(&global.anon_key)); #ifdef USE_LUA hlua = NULL; -- 1.7.10.4