Re: permanently enabling some -DPURIFY features.

From: Robert Collins <robertc@dont-contact.us>
Date: Thu, 04 Sep 2003 17:40:30 +1000

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>.

Received on Thu Sep 04 2003 - 01:40:34 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:39 MST