Hello Joao, On Thu, Jul 24, 2025 at 02:17:40PM -0300, Joao Morais wrote: > Subject: Re: check successful reload using master cli > > > On 24 Jul 2025, at 03:37, William Lallemand <wlallem...@haproxy.com> wrote: > > > > Hi Joao, > > > > On Wed, Jul 23, 2025 at 11:55:41AM -0300, Joao Morais wrote: > >> > >> Hi William, I couldn’t follow close enough on everything that's happening > >> on the master socket land, wondering if there is something you could add > >> or change on this previous talk we had in the past. Thank you! > >> > > > > We now have a synchronous "reload" command on the master CLI since version > > 2.7. > > > > https://docs.haproxy.org/3.2/management.html#reload > > > > What it does is that it keeps alive the master CLI connection doing the > > "reload", until the reload is done. Once it's done, it will dump a Success > > status, followed by the startup logs, and then close the connection. > > Hey William, this is awesome, thanks for sharing! > > I just started a few tests on 3.2.3, and maybe I found an issue on reload > running on macOS, see https://github.com/haproxy/haproxy/issues/3045 >
We'll take a look at this, thank you. > > > We still don't have JSON though, > > but if this is something you need that could be doable. > > That would be great, having eg an optional -json param. > Okay, I'll add it to my TODO :-) > Well, since you asked, an even more awesome feature would be to have an > option to make master and admin sockets > talking HTTP, sending/receiving json payloads. I think I read somewhere the > reasons we don’t have such an option, this > would make automations a breeze. =) Well we don't support HTTP on these, and we don't plan to support it for now. We would need to change a lot of thing to do this, and that might be in the scope of the dataplaneAPI. Regards, -- William Lallemand