commit | 291810d8f815c5bd8daee4dc28da4cbd466ff2ae | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Fri Oct 26 14:47:38 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 28 13:51:39 2018 +0100 |
tree | b298b9b65d23b3fc43a7a2f00d31052479ce69de | |
parent | 14721be11f2cee016dcac4c259813d875e828006 [diff] |
MEDIUM: mworker: find the server ptr using a CLI prefix Add a struct server pointer in the mworker_proc struct so we can easily use it as a target for the mworker proxy. pcli_prefix_to_pid() is used to find the right PID of the worker when using a prefix in the CLI. (@master, @#<relative pid> , @<pid>) pcli_pid_to_server() is used to find the right target server for the CLI proxy.