MINOR: chunk: drop the global thread_dump_buffer
authorWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 13:18:44 +0000 (15:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 13:54:53 +0000 (15:54 +0200)
commitafcac79f35f0310c7f19903a09b10511b691d2f3
tree4d86dcc6bb3fa52fcac35441178a61862b081437
parent922bd2d1c69c81c09474af6f4d9c8b1715c332b9
MINOR: chunk: drop the global thread_dump_buffer

This variable is not very useful and is confusing anyway. It was mostly
used to detect that a panic dump was still in progress, but we can now
check mark_tainted() for this. The pointer was set to one of the dumping
thread's trash chunks. Let's temporarily continue to copy the dumps to
that trash, we'll remove it later.

(cherry picked from commit a6698304e03847f3e114b22b4229b382f3ddffd1)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/debug.c