Re: I have a question about the md5 hash.

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Wed, 12 Sep 2012 18:51:43 +0200

ons 2012-09-12 klockan 10:26 +0300 skrev Eliezer Croitoru:

> if it was a string what will be the string structure?

It's not a string.

The first hashed octet is the Squid internal method representation in
binary integer form. Followed by the requested URL.

See storeKeyPublic() function for details
http://bazaar.launchpad.net/~squid/squid/3-trunk/view/head:/src/store_key_md5.cc#L118

And for method number assignment see HttpRequestMethod
http://bazaar.launchpad.net/~squid/squid/3-trunk/view/head:/src/HttpRequestMethod.h#L41

Regards
Henrik
Received on Wed Sep 12 2012 - 16:52:14 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 13 2012 - 12:00:06 MDT