]> git.kaiwu.me - haproxy.git/commit
MINOR: mworker: display an accurate error when the reexec fail
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 15 Nov 2017 18:02:55 +0000 (19:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 15 Nov 2017 18:52:06 +0000 (19:52 +0100)
commit722d4ca0dd66aadf297b43296456289ef3b0f9da
tree0cb06487e876b182945c89fa29b10ba624f37167
parent6d889500e2bc2a4f97d4f8b5ee63cc798ed53f96
MINOR: mworker: display an accurate error when the reexec fail

When the master worker fail the execvp, it returns the wrong error
"Cannot allocate memory".

We now display the accurate error corresponding to the errno value.
src/haproxy.c