• 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
.github Loading commit data...
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.inc.phk Loading commit data...
Makefile.phk Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
config.phk Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...