]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream: No longer use TASK_F_UEVT* to shut a stream down
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Jan 2025 18:11:02 +0000 (19:11 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Jan 2025 13:53:37 +0000 (14:53 +0100)
commit36d151dc10b5ea9c7b95c3d1d33e7321a3023682
tree241e817365159b20afe9761ca313c2b8abdfe100
parent6048460102c9c364872198554dc737a45df2f611
MEDIUM: stream: No longer use TASK_F_UEVT* to shut a stream down

Thanks to the previous patch, it is now possible to explicitly rely on
stream's events to shut it down. The right event is set in
stream_shutdown(), before waking up the stream, via an atomic operation. In
process_stream(), this event will be handled as expected.

Thus, TASK_F_UEVT* are no longer used, but not removed since still usable
for other tasks.

This patch depends on "MEDIUM: stream: Map task wake up reasons to dedicated
stream events".
include/haproxy/stream.h
src/stream.c