mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-10 09:21:35 -04:00
MINOR: quic: Useless test in quic_update_ack_ranges_list()
At this place, the condition "le_ar->first.key <= ar->first" is true because <le_ar> is the ack-range just below <ar> ack range.
This commit is contained in:
parent
9ef64cd078
commit
d3f4dd8014
1 changed files with 1 additions and 1 deletions
|
|
@ -2329,7 +2329,7 @@ int quic_update_ack_ranges_list(struct quic_arngs *arngs,
|
|||
eb64_entry(&le->node, struct quic_arng_node, first);
|
||||
|
||||
/* Already existing range */
|
||||
if (le_ar->first.key <= ar->first && le_ar->last >= ar->last)
|
||||
if (le_ar->last >= ar->last)
|
||||
return 1;
|
||||
|
||||
if (le_ar->last + 1 >= ar->first) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue