From: Willy Tarreau Date: Fri, 29 Sep 2023 06:39:21 +0000 (+0200) Subject: MINOR: debug: use the more detailed stream dump in panics X-Git-Tag: v2.9-dev7~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=feff6296a12f0a36561927cf8b76fd38253468b9;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/debug.c b/src/debug.c index 24e9167448..84c86d7959 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;