]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stconn: Forbid applets with more to deliver if EOI was reached
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Apr 2023 07:45:41 +0000 (09:45 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Apr 2023 15:05:53 +0000 (17:05 +0200)
commite8bcef5f2277b76e053415cf67b3cbbab78adc29
tree1e0def042dea2dce61824818540062145d6f6c15
parent56a2b608b0eac08d153151284ef01164e2f855d1
MEDIUM: stconn: Forbid applets with more to deliver if EOI was reached

When an applet is woken up, before calling its io_handler, we pretend it has
no more data to deliver. So, after the io_handler execution, it is a bug if
an applet states it has more data to deliver while the end of input is
reached.

So a BUG_ON() is added to be sure it never happens.
src/stconn.c