• Poul-Henning Kamp's avatar
    FlexeLint spotted a memory leak in Tollefs "admin-health" code, so I · 12592559
    Poul-Henning Kamp authored
    started fixing that, and then I fixed another couple of nits and polished
    the naming a bit and ...
    
    Well, you know how it is.
    
    Changed the backend matching function to take a call-back function
    to eliminate the need for the memory which got leaked.
    
    This meant that backend.list could also use it, if only the parsing
    code accepted a blank input.
    
    So I rewrote the parsing code to also allow empty names, so you can:
    	backend.list (:80)
    	backend.list (192.168)
    etc.
    
    And then I added a summary report of the probing, if it is happening,
    and explicitly say that no probing is happening if it isn't.
    12592559
cache_backend.c 12.8 KB