Re: [squid-users] Generating cache file hash - continued

From: Adrian Chadd <adrian_at_squid-cache.org>
Date: Thu, 28 Aug 2008 10:26:08 +0800

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_at_hotmail.com>:
>
> 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/
>
Received on Thu Aug 28 2008 - 02:26:12 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 28 2008 - 12:00:05 MDT