Hi Valentine,

thank you for looking into this and sharing your thoughts. I'm not sure if these questions were directed at me:

Valentine Krasnobaeva wrote:
cli_find_server() is used in all CLI command handlers, which manipulates servers. So, let's discuss this use-case, if there is a willingnessto have such small feature ?

If there is a willingness, I would need to check other "server" commands, as with this simple patch below, which unblocks, we probably break some other cases.

I have a workaround that yields the desired outcome for my current use case, that is to close down the open websocket connections in question. I can live with that, even though I would find using a single command more elegant.

If nobody but me wants to use the "shutdown sessions server" command on soft-closed haproxy processes, then it's probably not worth investing time in it. What I can contribute to this would be my willingness to try it out and do some tests, but my skills in C programming are not good enough to either contribute code or to check which other "server" commands would need additional attention.


Jens

Reply via email to