Search squid archive

Re: Generating cache file hash - continued

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



G'day,

Whats your reason for avoiding the use of the Squid code? Licence issues?

I'm slowly migrating the Squid-2 code into a whole lot of reusable
modules as part of an experiment in code organisation. One of the
goals is to allow this exact situation - instead of rolling your own,
you can link against one of the Squid libraries at run-time.



Adrian

2008/8/21 John =) <jrederz@xxxxxxxxxxx>:
>
> Further to my request yesterday... I would prefer to be able to just generate the md5 hash manually, rather than writing code to use storeKeyPublic() in src/store_key_md5.c. However, I must not be interpreting that function correctly as my hashes do not match the hashes produced in store.log:
>
> For example, for 'GET http://www.squid-cache.org/Images/img8.gif' - putting 001http://www.squid-cache.org/Images/img8.gif into the hash generator gives d5bf8db92c34e66592faa82454b5d867, but store.log shows:F506597929DF2C9F8E51ED12E77E6548
>
> Is there a simple way to produce the correct hash without touching the sourcecode? I am very new to this.
>
>
> John Redford.
>
> _________________________________________________________________
> Get Hotmail on your mobile from Vodafone
> http://clk.atdmt.com/UKM/go/107571435/direct/01/
>

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux