Search squid archive

Re: Generating Squid hash

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

 



On ons, 2008-08-20 at 16:24 +0000, John =) wrote:
> Hi, this probably seems like a trivial question, but I have not been able to find any help in the mail archive.
>  
> How is the hash value used to index the object in the cache generated please? My intentions are to be able to manually introduce new items to the cache and update the logs accordingly.

The hash is only used internally.

method + URL -> md5 hash -> internal store object -> on-disk file number

The actual hash function can be seen in storeKeyPublic() in src/store_key_md5.cc

Regards
Henrik

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


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

  Powered by Linux