]> git.kaiwu.me - haproxy.git/commit
MEDIUM: applet: Set the appctx owner during allocation
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 19 Jan 2022 13:50:11 +0000 (14:50 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:13 +0000 (15:10 +0200)
commit2479e5f7754c9b1dcfe32cba1ff3e72c94792415
tree8b39dacd93d1b684bb4c92c024dec632c201afab
parent81a40f630e2c9a48484ff62a3e91676ecc59f0e7
MEDIUM: applet: Set the appctx owner during allocation

The appctx owner is now always a conn-stream. Thus, it can be set during the
appctx allocation. But, to do so, the conn-stream must be created first. It
is not a problem on the server side because the conn-stream is created with
the stream. On the client side, we must take care to create the conn-stream
first.

This change should ease other changes about the applets bootstrapping.
include/haproxy/applet.h
src/dns.c
src/flt_spoe.c
src/hlua.c
src/http_client.c
src/peers.c
src/sink.c
src/stream_interface.c