From c041cdc1d47b1bc0517483b5f31dbfce4392d08a Mon Sep 17 00:00:00 2001 From: Dridi Boukelmoune Date: Thu, 21 Sep 2023 06:52:11 +0200 Subject: [PATCH] vtc: Check the correct protected headers Refs #3984 --- bin/varnishtest/tests/r03984.vtc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/varnishtest/tests/r03984.vtc b/bin/varnishtest/tests/r03984.vtc index 3ce6975ef8c..4285760da31 100644 --- a/bin/varnishtest/tests/r03984.vtc +++ b/bin/varnishtest/tests/r03984.vtc @@ -4,16 +4,16 @@ varnish v1 -vcl { backend be none; sub access_req { - if (req.http.content-length || req.http.content-encoding) {} + if (req.http.content-length || req.http.transfer-encoding) {} } sub access_resp { - if (resp.http.content-length || resp.http.content-encoding) {} + if (resp.http.content-length || resp.http.transfer-encoding) {} } sub access_bereq { - if (bereq.http.content-length || bereq.http.content-encoding) {} + if (bereq.http.content-length || bereq.http.transfer-encoding) {} } sub access_beresp { - if (beresp.http.content-length || beresp.http.content-encoding) {} + if (beresp.http.content-length || beresp.http.transfer-encoding) {} } sub vcl_recv {