commit | d6bbe82e2de62490e1afaf1d39ce598dbc825589 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 11 15:55:56 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jun 16 10:26:49 2021 +0200 |
tree | 265de979e81423cd4477112b5cb02c71e5e98353 | |
parent | b2a50298b1f6f46c943b77685142d59d3e69e193 [diff] |
CLEANUP: l7-retries: do not test the buffer before calling b_alloc() The return value is enough now to know if the allocation succeeded or failed. This cleanup was already pushed by Willy (f499f50) but a revert crushed it. It may be backported to the 2.4 because the original patch was done on this version. (cherry picked from commit 0fe1864f7db556f99f3a715a8a383902ed36bfae) Signed-off-by: Willy Tarreau <w@1wt.eu>