Skip to content

Commit

Permalink
vtc: Check the correct protected headers
Browse files Browse the repository at this point in the history
Refs #3984
  • Loading branch information
dridi committed Sep 21, 2023
1 parent 21f8d04 commit c041cdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/varnishtest/tests/r03984.vtc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c041cdc

Please sign in to comment.