Commit 64e6079f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a parameter to enable SHA256 hashing.

This does not do anything yet.



git-svn-id: http://www.varnish-cache.org/svn/trunk@3437 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent abcb6423
......@@ -174,6 +174,9 @@ struct params {
/* Default grace period */
unsigned default_grace;
/* Use sha256 hasing */
unsigned hash_sha256;
/* Log hash string to shm */
unsigned log_hash;
......
......@@ -839,6 +839,10 @@ static const struct parspec parspec[] = {
"NB: Must be specified with -p to have effect.\n",
0,
"8192", "bytes" },
{ "hash_sha256", tweak_bool, &master.hash_sha256, 0, 0,
"Use SHA256 compression of hash-strings",
0,
"off", "bool" },
{ "log_hashstring", tweak_bool, &master.log_hash, 0, 0,
"Log the hash string to shared memory log.\n",
0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment