DEBUG: stream: Add a BUG_ON to never exit process_stream with an expired task
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Feb 2023 13:43:49 +0000 (14:43 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Feb 2023 10:35:09 +0000 (11:35 +0100)
commita62201df5a45f39be67f33d0ba4fc22fb3ce73b0
tree10d8398187308e5ff69efcc1d105c55004c0f316
parentbbf86be9969e070cb57021d14c8fa638199db73a
DEBUG: stream: Add a BUG_ON to never exit process_stream with an expired task

We must never exit for the stream processing function with an expired
task. Otherwise, we are pretty sure this will ends with a spinning loop. It
is really better to abort as far as possible and with the original buggy
state. This will ease the debug sessions.
src/stream.c