[master] 10a223484 Make the hash key not depend on server.ip

Poul-Henning Kamp phk at FreeBSD.org
Fri Aug 7 11:04:08 UTC 2020


commit 10a223484d5548e3585a326a8c280ebfa4e0c883
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Aug 7 11:02:07 2020 +0000

    Make the hash key not depend on server.ip

diff --git a/bin/varnishtest/tests/b00051.vtc b/bin/varnishtest/tests/b00051.vtc
index 5b65e7590..3681ad2b3 100644
--- a/bin/varnishtest/tests/b00051.vtc
+++ b/bin/varnishtest/tests/b00051.vtc
@@ -18,9 +18,9 @@ varnish v1 -vcl+backend {
 } -start
 
 client c1 {
-	txreq
+	txreq -hdr "Host: localhost"
 	rxresp
 	expect resp.http.req_hash ~ "[[:xdigit:]]{64}"
 	expect resp.http.req_hash == resp.http.bereq_hash
-	expect resp.http.req_hash-sf == ":d9gz676uHvX8wU6y/pTPI6fRK/XVgpJuGZtogIxniLA=:"
+	expect resp.http.req_hash-sf == ":3k0f0yRKtKt7akzkyNsTGSDOJAZOQowTwKWhu5+kIu0=:"
 } -run


More information about the varnish-commit mailing list