]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: connection: fix loop iter on connection takeover
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 14 Oct 2020 16:17:03 +0000 (18:17 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 15 Oct 2020 13:19:25 +0000 (15:19 +0200)
commit5f1ded5629d046124827087c41e765d5362c87cf
tree9cd20ba7ed385e1e1ec9b52e2fd31d70d351f7aa
parent1a3770cbc7de5a00f3aab3238a587468e419c7f4
BUG/MINOR: connection: fix loop iter on connection takeover

The loop always missed one iteration due to the incrementation done on
the for check. Move the incrementation on the loop last statement to fix
this behaviour.

This bug has a very limited impact, not at all visible to the user, but
could be backported to 2.2.
src/backend.c