]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: spoe: Don't release the context buffer in .check_timeouts callbaclk
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Mar 2018 15:09:20 +0000 (16:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Apr 2018 13:13:53 +0000 (15:13 +0200)
commitac580608d712e1e8c351d84dfda6e5ac773812df
tree271449ddd2a78ce4cf3e1cf132b8fe5cf864b2ab
parent84c844eb12b250aa86f2aadaff77c42dfc3cb619
BUG/MINOR: spoe: Don't release the context buffer in .check_timeouts callbaclk

It is better to let spoe_stop_processing release this buffer because, in
.check_timeouts callback, we lack information to know if it should be release or
not. For instance, if the processing timeout is reached while the SPOE applet
receives the reply, it is preferable to ignore the timeout and process the
result.

This patch should be backported in 1.8.
src/flt_spoe.c