]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stream: make strm_dump_to_buffer() take a const stream
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Sep 2023 07:01:53 +0000 (09:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Sep 2023 07:20:27 +0000 (09:20 +0200)
commit6bc07103f8eb771731d83d98a32137f4e2d787f9
tree2934710dc9fb44ef433410e416e2603acfbfe56d
parent1a01ee47403ca5c8684f1ba33b2f679716b607ba
CLEANUP: stream: make strm_dump_to_buffer() take a const stream

Now that we don't need a variable anymore, let's pass a const stream.
It will void any doubt about what can happen to the stream when the
function is called from inspection points (show sess etc).
src/stream.c