commit | dc21ff778bfa05553264fc15173c25a04046e09f | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Tue Jan 29 15:20:16 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 31 19:38:25 2019 +0100 |
tree | 7a66fa13a23f8f462b77b5d2a5266d07a4f4513f | |
parent | 9c9da5ee89272282ea64341e856d1ece1367e737 [diff] |
MINOR: debug: Add an option that causes random allocation failures. When compiling with DEBUG_FAIL_ALLOC, add a new option, tune.fail-alloc, that gives the percentage of chances an allocation fails. This is useful to check that allocation failures are always handled gracefully.