BUG/MEDIUM: peers: reset commitupdate value in new conns
authorEmeric Brun <ebrun@haproxy.com>
Tue, 23 Feb 2021 16:08:08 +0000 (17:08 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 29 Apr 2021 09:12:29 +0000 (11:12 +0200)
commit9c13c7a57928f955083f69650435f11a84694743
treef77d26c6b3701f783b19c95722b6ccbda8401580
parent4711b235457cdc8425d1c90a8ca21dadb3731ffe
BUG/MEDIUM: peers: reset commitupdate value in new conns

The commitupdate value of the table is used to check if the update
is still pending for a push for all peers. To be sure to not miss a
push we reset it just after a handshake success.

This patch should be backported on all supported branches ( >= 1.6 )

(cherry picked from commit cc9cce9351c2d64476dbe2f35c43cde8a3f97ebe)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit cd0a30e441faa7d2c6d71f9541d092140f04e6ef)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 228bf0088078ea872fcab61db93a6c306c2d0d0c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/peers.c