This change is required to be able to refactor the init stage of appctx. It
is now possible to directly get the sink from a forward target.
struct server *srv; // used server
struct appctx *appctx; // appctx of current session
size_t ofs; // ring buffer reader offset
+ struct sink *sink; // the associated sink
struct sink_forward_target *next;
__decl_thread(HA_SPINLOCK_T lock); // lock to protect current struct
};
/* insert into sink_forward_targets
* list into sink
*/
+ sft->sink = sink;
sft->next = sink->sft;
sink->sft = sft;