BUG/MEDIUM: applet: Report an error if applet request more room on aborted SC
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Sep 2023 06:52:39 +0000 (08:52 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Sep 2023 07:29:27 +0000 (09:29 +0200)
commitd18657ae112aad2a87f80dfe006dc1a1bfc89d3a
treed0af772742d5c174bbd70b318f50b4c854bb44e7
parent34645a6365827f1cd3929afe8c8e7055fa4556ee
BUG/MEDIUM: applet: Report an error if applet request more room on aborted SC

If an abort was performed and the applet still request more room, it means
the applet has not properly handle the error on its own. At least the CLI
applet is concerned. Instead of reviewing all applets, the error is now
handled in task_run_applet() function.

Because of this bug, a session may be blocked infinitly and may also lead to
a wakup loop.

This patch must only be backported to 2.8 for now. And only to lower
versions if a bug is reported because it is a bit sensitive and the code
older versions are very different.
src/applet.c