commit | 207c0950982c1a4208995f0e0638c45ed2923bda | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Apr 17 16:00:08 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 19 15:24:33 2021 +0200 |
tree | 4bc327d8f5e26e9d4c9b622d9b842293d20de621 | |
parent | 20f88abad5f2a7bca45d9a9288c93d8cc259ca70 [diff] |
MINOR: pools: move the fault injector to __pool_alloc() Till now it was limited to objects allocated from the OS which means it had little use as soon as pools were enabled. Let's move it upper in the layers so that any code can benefit from fault injection. In addition this allows to pass a new flag POOL_F_NO_FAIL to disable it if some callers prefer a no-failure approach.