mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04: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
5b6e29cacd
commit
bd1a754e73
1 changed files with 3 additions and 0 deletions
|
|
@ -1821,6 +1821,9 @@ int peer_treat_updatemsg(struct appctx *appctx, struct peer *p, int updt, int ex
|
||||||
st->last_get++;
|
st->last_get++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (p->learnstate == PEER_LR_ST_PROCESSING)
|
||||||
|
st->last_acked = st->last_get;
|
||||||
|
|
||||||
if (exp) {
|
if (exp) {
|
||||||
size_t expire_sz = sizeof expire;
|
size_t expire_sz = sizeof expire;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue