]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: l7-retries: do not test the buffer before calling b_alloc()
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 11 Jun 2021 13:55:56 +0000 (15:55 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 11 Jun 2021 14:04:28 +0000 (16:04 +0200)
commit0fe1864f7db556f99f3a715a8a383902ed36bfae
tree8ece5dca1765931fe54f0fa0fd970f8a1312fa60
parentbf76df12a6eb8a69939da026815b6daa9dfd7147
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.
src/stream_interface.c