Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
d69518c5
Unverified
Commit
d69518c5
authored
Nov 08, 2022
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The Via header has changed in varnish-cache
We are agnostic to such changes from now on by unsetting the header.
parent
c3817df4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
e00003.vtc
src/tests/e00003.vtc
+3
-2
serial.vtc
src/tests/serial.vtc
+3
-2
No files found.
src/tests/e00003.vtc
View file @
d69518c5
...
...
@@ -53,6 +53,7 @@ varnish v1 -arg "-p debug=+syncvsl" -vcl+backend {
sub vcl_deliver {
pesi.activate();
set resp.http.can_esi = obj.can_esi;
unset resp.http.via;
}
} -start
...
...
@@ -105,7 +106,7 @@ delay 1
logexpect l1 -v v1 -d 1 -g vxid -q "vxid == 1001" {
expect 0 1001 Begin "^req .* rxreq"
expect * = ReqAcct "^29 0 29
202 75 277
$"
expect * = ReqAcct "^29 0 29
170 75 245
$"
expect 0 = End
} -run
...
...
@@ -129,7 +130,7 @@ logexpect l4 -v v1 -d 1 -g vxid -q "vxid == 1004" {
logexpect l5 -v v1 -d 1 -g vxid -q "vxid == 1005" {
expect * 1005 Begin "^req .* rxreq"
# Header bytes is 5 larger than in l1 due to two item X-Varnish hdr
expect * = ReqAcct "^29 0 29
207 75 282
$"
expect * = ReqAcct "^29 0 29
175 75 250
$"
expect 0 = End
} -run
...
...
src/tests/serial.vtc
View file @
d69518c5
...
...
@@ -53,6 +53,7 @@ varnish v1 -arg "-p debug=+syncvsl" -vcl+backend {
pesi.activate();
pesi.set(serial, true);
set resp.http.can_esi = obj.can_esi;
unset resp.http.via;
}
} -start
...
...
@@ -105,7 +106,7 @@ delay 1
logexpect l1 -v v1 -d 1 -g vxid -q "vxid == 1001" {
expect 0 1001 Begin "^req .* rxreq"
expect * = ReqAcct "^29 0 29
202 75 277
$"
expect * = ReqAcct "^29 0 29
170 75 245
$"
expect 0 = End
} -run
...
...
@@ -129,7 +130,7 @@ logexpect l4 -v v1 -d 1 -g vxid -q "vxid == 1004" {
logexpect l5 -v v1 -d 1 -g vxid -q "vxid == 1005" {
expect * 1005 Begin "^req .* rxreq"
# Header bytes is 5 larger than in l1 due to two item X-Varnish hdr
expect * = ReqAcct "^29 0 29
207 75 282
$"
expect * = ReqAcct "^29 0 29
175 75 250
$"
expect 0 = End
} -run
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment