]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: spoe: Forward SPOE context error to the SPOE applet
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Jul 2024 06:06:59 +0000 (08:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Jul 2024 13:27:05 +0000 (15:27 +0200)
commit1dd2e484b02f5db15591d4448138dde604ebe5dc
treeefb7f679c5df1488808ec4ab30302b8db2fecf43
parent1755c329495eb895eecd68efc262f1df6714daeb
MEDIUM: spoe: Forward SPOE context error to the SPOE applet

Errors triggered by a SPOE filter intance, mainly the processing timeout, are
now forwarded to the SPOE applet. This way, an error can be reported to the SPOP
mux stream to abort it early.

Note that, for now, no abort reaon is set because the SPOP connection is not
closed. Only the SPOP stream is aborted. But thanks to this patch, the SPOE
applet can be released immediately, instead of waiting for the ACK frame or an
error on the mux side.

The related issue is #2502.
src/flt_spoe.c