On Thu, Apr 07, 2022 at 11:50:33AM +0200, Willy Tarreau wrote: > And in an ideal world, the applet's init code could be the one responsible > for creating its stream. Historically it wasn't even possible because both > contexts were strongly tied. But with the changes Christopher recently did > to keep the applets away, maybe that's something we can think of. If so, > that would also make the Lua client and http_client setup code so much > cleaner, I'll discuss this with Christopher to see what's missing to > reach that point, and will get back to you ASAP (or please yell at me > if you don't hear about me for some time).
So after discussing about this, it seems to make sense. There are some ongoing changes in that area that are about to be merged (probably early next week) and that will help for this task, so we'll have a closer look, and it's very likely that we could proceed like this soon. Stay tuned! Willy