• Nils Goroll's avatar
    ban lurker edge case: make sure we stop at the ban list tail · 5dd54f83
    Nils Goroll authored
    in ban_lurker_test_ban() we remove completed bans from the obans list
    so the ban list tail might not be present in the obans list.
    
    To ensure that we stop at the tail, we now find our obans iteration
    termination ban walking the bans list backwards until we find an
    active ban, the head or the first obans element. In the latter two
    cases we are done.
    
    If there are any bans left to mark completed, the last active ban must
    be contained in the obans list so we should terminate correctly.
    
    Fixes #2556
    5dd54f83
Name
Last commit
Last update
..
cache Loading commit data...
common Loading commit data...
hash Loading commit data...
hpack Loading commit data...
http1 Loading commit data...
http2 Loading commit data...
mgt Loading commit data...
proxy Loading commit data...
storage Loading commit data...
waiter Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
VSC_lck.vsc Loading commit data...
VSC_main.vsc Loading commit data...
VSC_mempool.vsc Loading commit data...
VSC_mgt.vsc Loading commit data...
VSC_sma.vsc Loading commit data...
VSC_smf.vsc Loading commit data...
VSC_smu.vsc Loading commit data...
VSC_vbe.vsc Loading commit data...
builtin.vcl Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vclflint.lnt Loading commit data...
vclflint.sh Loading commit data...