• Martin Blix Grydeland's avatar
    Only set new lurker destination ban if we already had one. · 93d80501
    Martin Blix Grydeland authored
    Without this we could start running ban_lurker_test_ban with an empty
    list of bans to test, causing a lot of unnecessary ban and oh mutex
    contention on every ban lurker invocation until the REQ ban triggering
    it is gone.
    
    Also don't call ban_lurker_test_ban when our destination ban is the
    same as the one being tested. This would be wasted work.
    
    Adjust the c00049.vtc test case for the bans now not being
    unnecessarily tested.
    93d80501
Name
Last commit
Last update
..
tests Loading commit data...
tests.disabled Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
programs.h Loading commit data...
vmods.h Loading commit data...
vtc.c Loading commit data...
vtc.h Loading commit data...
vtc_client.c Loading commit data...
vtc_http.c Loading commit data...
vtc_log.c Loading commit data...
vtc_logexp.c Loading commit data...
vtc_main.c Loading commit data...
vtc_process.c Loading commit data...
vtc_sema.c Loading commit data...
vtc_server.c Loading commit data...
vtc_varnish.c Loading commit data...
witness.py Loading commit data...