]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sink: Use the right field in appctx context in release callback
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Jan 2022 14:03:22 +0000 (15:03 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 28 Jan 2022 16:56:18 +0000 (17:56 +0100)
commitdd0b144c3ae83c2ea14f969cb58fa4b927c2c455
treec90244f307d1041949625fe24db7be42a227f948
parentc2b7fa891c440ef4dae82b680dc994be89da560f
BUG/MINOR: sink: Use the right field in appctx context in release callback

In the release callback, ctx.peers was used instead of ctx.sft. Concretly,
it is not an issue because the appctx context is an union and these both
fields are structures with a unique pointer. But it will be a problem if
that changes.

This patch must be backported as far as 2.2.
src/sink.c