Re: [PATCH] Re: Adding a reset option to the session helper

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 07 Oct 2011 12:23:24 +1300

On 07/10/11 10:54, Andrew Beverley wrote:
> On Thu, 2011-10-06 at 13:23 +1300, Amos Jeffries wrote:
>>> Oh, I forgot to say: the DB_ENV functionality requires a *directory*
>>> rather than a file to be specified for the database (it creates
>>> several
>>> files). So, although I don't see a problem with this in principle, it
>>> does break backwards compatibility. Any thoughts? Just bite the
>>> bullet?
>>>
>>> Andy
>>
>> Um. Maybe check for dir/file type on the -b value and use it as base
>> path?
>>
>
> Or even better check for dir/file type and then either use legacy mode
> (just a database file, but with the modern DB API) or DB_ENV mode (a
> directory with several files).
>
> Or is that what you meant anyway?

Something along those lines. Just hoping we could do the single-file
with the newer API I guess.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.15
   Beta testers wanted for 3.2.0.12
Received on Thu Oct 06 2011 - 23:23:32 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 07 2011 - 12:00:04 MDT