mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-12-04 17:21:12 +01:00
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.
This commit is contained in:
parent
1cd4bd8880
commit
f64cba38fc
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user