MINOR: stream: use ABORT_NOW() and not abort() in stream_dump_and_crash()
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Mar 2021 18:19:41 +0000 (19:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Mar 2021 07:30:08 +0000 (08:30 +0100)
commit2f67e54dca7fcd4c9994dacfbc071af5bd4f2ae8
tree6f7e5486be34c2bc4a63264eec543a2b984b4edb
parentf587003fe916315e77e130339e21fc8d3a4a7248
MINOR: stream: use ABORT_NOW() and not abort() in stream_dump_and_crash()

Using abort() occasionally results in unexploitable core due to issues
rewinding the stack. Let's use ABORT_NOW() which in addition to crashing
much closer to the call point also has the benefit of showing the call
trace.
src/stream.c