commit | 85b0bd9e54041501248eff73e0f9901ffc7ed140 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Jun 01 17:38:53 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jun 02 10:56:32 2017 +0200 |
tree | 4082ce7af8501b152ab620b9256c7350555c1400 | |
parent | cb11fd2c7a32f5476f76cc93ed4c712935222a23 [diff] |
MEDIUM: mworker: try to guess the next stats socket to use with -x In master worker mode, you can't specify the stats socket where you get your listeners FDs on a reload, because the command line of the re-exec is launched by the master. To solve the problem, when -x is found on the command line, its parameter is rewritten on a reexec with the first stats socket with the capability to send sockets. It tries to reuse the original parameter if it has this capability.