On Thu, 2003-09-04 at 10:15, Duane Wessels wrote:
> 
> On Wed, 3 Sep 2003, Robert Collins wrote:
> 
> > How do folk feel about us (post 3.0) permanently enabling the tidy
> > cleanup stuff currently enabled by -DPURIFY, leaving the assert()
> > changes and the mem pools disabling alone?
> >
> > I see no harm having squid behave well on shutdown, and it will help
> > prevent bitrot in that code.
> 
> Some functions, like storeFreeMemory() may take more time to execute
> than some users would like (because there are so many pointers to
> free).  Sometimes when I shut down Squid I want it to exit quickly
> and start up again ASAP.

Fair enough. How about a compromise: Make it a squid.conf option, rather
than compile time option.

i.e.
if (Config.FreeResourcesAtShutdown)
 {
    // PURIFY BLOCK
 }


?

Rob
-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to