From: Christopher Faulet Date: Mon, 29 Sep 2025 13:49:44 +0000 (+0200) Subject: MEDIUM: peers: No longer ack updates during a full resync X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d77328ba8f9a0ccd863954e494b40d0b0dbf926;p=thirdparty%2Fhaproxy.git MEDIUM: peers: No longer ack updates during a full resync ACK messages received by a peer sending updates during a full resync are ignored. So, on the other side, there is no reason to still send these ACK messages. Let's skip them. --- diff --git a/src/peers.c b/src/peers.c index 7d955008f..e20991edd 100644 --- a/src/peers.c +++ b/src/peers.c @@ -1821,6 +1821,9 @@ int peer_treat_updatemsg(struct appctx *appctx, struct peer *p, int updt, int ex st->last_get++; } + if (p->learnstate == PEER_LR_ST_PROCESSING) + st->last_acked = st->last_get; + if (exp) { size_t expire_sz = sizeof expire;