[Varnish] #1045: Ban lurker doesn't work anymore

Varnish varnish-bugs at varnish-cache.org
Sun Oct 30 23:52:56 CET 2011


#1045: Ban lurker doesn't work anymore
------------------------+---------------------------------------------------
 Reporter:  Yvan        |        Type:  defect  
   Status:  new         |    Priority:  high    
Milestone:              |   Component:  varnishd
  Version:  3.0.2       |    Severity:  major   
 Keywords:  ban lurker  |  
------------------------+---------------------------------------------------

Comment(by kristian):

 Let me try that again:

 Phk: Seems like we need three return values from ban_check_object(). I
 suppose it's dirty to "hide" that in BAN_CheckObject (e.g:
 {{{
 int
 BAN_CheckObject(...)
 {
     ret = ban_check_object(..);
     if (ret == 0 || ret == 1)
         return 0;
     else
         return 1;
 }
 }}}

 The third return value would be "nothing banned, but bans updated", which
 shouldn't be relevant outside of cache_ban.c.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1045#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list