]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: spoe: Create a SPOE applet if necessary when the last one is released
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 2 Aug 2021 15:53:56 +0000 (17:53 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Aug 2021 08:07:43 +0000 (10:07 +0200)
commit6f1296b5c70d2f513836b61cfb9a06aed2db10eb
tree33f212fbeecdba99de46724a5f50fdc8553d8327
parent434b8525ee333f511b5461eae41b23842d3636d4
BUG/MEDIUM: spoe: Create a SPOE applet if necessary when the last one is released

On a thread, when the last SPOE applet is released, if there are still
pending streams, a new one is created. Of course, HAproxy must not be
stopping. It is important to start a new applet in this case to not abort
in-progress jobs, especially when a maxconn is set. Because applets may be
closed to be fair with connections waiting for a free slot.

This patch should partely fix the issue #1340. It depends on the commit
"MINOR: spoe: Create a SPOE applet if necessary when the last one on a
thread is closed". Both must be backported as far as 2.0.
src/flt_spoe.c