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
c964189d
Commit
c964189d
authored
Jul 31, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add HTTP/2 tests to e09.vtc.
parent
0c3bd687
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
8 deletions
+47
-8
e00009.vtc
src/tests/e00009.vtc
+47
-8
No files found.
src/tests/e00009.vtc
View file @
c964189d
varnishtest "ESI binary detector"
varnishtest "ESI binary detector"
server s1 {
server s1 {
loop 4 {
rxreq
rxreq
txresp -body {
txresp -body {
Before include
Before include
...
@@ -8,12 +9,6 @@ server s1 {
...
@@ -8,12 +9,6 @@ server s1 {
bar
bar
</esi:remove>
</esi:remove>
}
}
rxreq
txresp -body {
Before include
<esi:remove>
bar
</esi:remove>
}
}
} -start
} -start
...
@@ -38,6 +33,12 @@ client c1 {
...
@@ -38,6 +33,12 @@ client c1 {
rxresp
rxresp
expect resp.status == 200
expect resp.status == 200
expect resp.bodylen == 57
expect resp.bodylen == 57
expect resp.body == {
Before include
<esi:remove>
bar
</esi:remove>
}
} -run
} -run
logexpect l1 -wait
logexpect l1 -wait
...
@@ -50,5 +51,43 @@ client c1 {
...
@@ -50,5 +51,43 @@ client c1 {
expect resp.status == 200
expect resp.status == 200
expect resp.bodylen == 22
expect resp.bodylen == 22
expect resp.http.transfer-encoding == "chunked"
expect resp.http.transfer-encoding == "chunked"
expect resp.body == {
Before include
}
} -run
} -run
varnish v1 -expect esi_errors == 0
varnish v1 -expect esi_errors == 0
## HTTP/2
varnish v1 -cliok "param.set feature +http2,-esi_disable_xml_check"
client c1 {
stream 1 {
txreq -url foo
rxresp
expect resp.status == 200
expect resp.bodylen == 57
expect resp.body == {
Before include
<esi:remove>
bar
</esi:remove>
}
} -run
} -run
varnish v1 -cli "param.set feature +esi_disable_xml_check"
client c1 {
stream 1 {
txreq -url baz
rxresp
expect resp.status == 200
expect resp.bodylen == 22
expect resp.body == {
Before include
}
} -run
} -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