]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sink: refine forward_px usage
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 14 Sep 2023 23:49:08 +0000 (01:49 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Oct 2023 13:34:31 +0000 (15:34 +0200)
commit205d480d9fe43064b51f5907e6734696070b0441
tree1cb8a7baa94a53cff5885cef910d28f309e5a8f8
parent405567c12574aaa6b5902c494f4477af8a32c0b2
MINOR: sink: refine forward_px usage

now forward_px only serves as a hint to know if a proxy was created
specifically for the sink, in which case the sink is responsible for it.

Everywhere forward_px was used in appctx context: get the parent proxy from
the sft->srv instead.

This permits to finally get rid of the double link dependency between sink
and proxy.
include/haproxy/sink-t.h
src/sink.c