]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: debug: use the more detailed stream dump in panics
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Sep 2023 06:39:21 +0000 (08:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Sep 2023 07:20:27 +0000 (09:20 +0200)
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

index 24e9167448d2c67d63d6de5dbdacb568a3b49093..84c86d7959536b55ebabf20a79c231330e4ec1e1 100644 (file)
@@ -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;