--------
In message <[email protected]>, Mar
tin Blix Grydeland writes:

I'm not happy with this one, it risks creating a pile-up of workers
which are trying to add bans's from VCL, and it does not shut down
the lurker in any meaningful way.

Add a private flag in cache_ban.c which indicates that a shutdown
is in progress, set it in the BAN_Shutdown() function.

When this flag is set, all attempts to add bans should fail before
trying to grab the mutex.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to