MEDIUM: applet: Set the conn-stream as appctx owner instead of the stream-int
Because appctx is now an endpoint of the conn-stream, there is no reason to
still have the stream-interface as appctx owner. Thus, the conn-stream is
now the appctx owner.
diff --git a/src/stick_table.c b/src/stick_table.c
index 331ee19..667123c 100644
--- a/src/stick_table.c
+++ b/src/stick_table.c
@@ -4391,7 +4391,7 @@
*/
static int table_process_entry_per_key(struct appctx *appctx, char **args)
{
- struct stream_interface *si = appctx->owner;
+ struct stream_interface *si = cs_si(appctx->owner);
struct stktable *t = appctx->ctx.table.target;
struct stksess *ts;
uint32_t uint32_key;
@@ -4646,7 +4646,7 @@
*/
static int cli_io_handler_table(struct appctx *appctx)
{
- struct stream_interface *si = appctx->owner;
+ struct stream_interface *si = cs_si(appctx->owner);
struct stream *s = si_strm(si);
struct ebmb_node *eb;
int skip_entry;