mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-13 21:06:13 -04:00
BUG/MINOR: quic: Missing cases treatement when updating ACK ranges
Let's say that we have to insert a range R between to others A and B with A->first <= R->first <= B->first. We have to remove the ranges which are overlapsed by R during. This was correctly done when the intersection between A and R was not empty, but not when the intersection between R and B was not empty. If this latter case after having inserting a new range R we set <new> variable as the node to consider to check the overlaping between R and its following ranges.
This commit is contained in:
parent
c825eba5f9
commit
8ba4276d13
1 changed files with 2 additions and 0 deletions
|
|
@ -2341,6 +2341,8 @@ int quic_update_ack_ranges_list(struct quic_arngs *arngs,
|
|||
new_node = quic_insert_new_range(arngs, ar);
|
||||
if (!new_node)
|
||||
return 0;
|
||||
|
||||
new = &new_node->first;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue