MINOR: sink: don't rely on p->parent in sink appctx
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 14 Sep 2023 22:29:53 +0000 (00:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Oct 2023 13:34:31 +0000 (15:34 +0200)
commit3c53f6cb76e0cd8670b4df9d5bbd0a0b3e00b2f5
tree778eef8f4f59ac239afc887aab37e0453b9a2832
parentec770b7924848570c72a4e6d82f612d0c44936b1
MINOR: sink: don't rely on p->parent in sink appctx

Removing unnecessary dependency on proxy->parent pointer in
sink appctx functions by directly using the sink sft from the
applet->svcctx to get back to sink related structs.

Thanks to this, proxy used for a ringbuf does not have to be exclusive
to a single sink anymore.
src/sink.c