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
15ac6161
Commit
15ac6161
authored
Jul 31, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add HTTP/2 tests for e06.vtc.
parent
03b60ae2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
e00006.vtc
src/tests/e00006.vtc
+47
-0
No files found.
src/tests/e00006.vtc
View file @
15ac6161
...
...
@@ -45,6 +45,14 @@ client c1 {
rxresp
expect resp.status == 200
expect resp.bodylen == 78
expect resp.body == {
<html>
Before include
<pre>
Included file
</pre>
After include
}
}
client c1 -run
...
...
@@ -84,10 +92,12 @@ client c1 {
rxresp
expect resp.status == 200
expect resp.bodylen == 4
expect resp.body == "1234"
txreq -url /https
rxresp
expect resp.status == 200
expect resp.bodylen == 6
expect resp.body == "123456"
}
client c1 -run
...
...
@@ -95,3 +105,40 @@ client c1 -run
logexpect l1 -wait
varnish v1 -expect esi_errors == 2
## HTTP/2
varnish v1 -cliok "param.set feature +http2"
client c1 {
stream 1 {
txreq -url /foo/bar -hdr host froboz
rxresp
expect resp.status == 200
expect resp.bodylen == 78
expect resp.body == {
<html>
Before include
<pre>
Included file
</pre>
After include
}
} -run
delay .1
stream 3 {
txreq -url /http
rxresp
expect resp.status == 200
expect resp.bodylen == 4
expect resp.body == "1234"
} -run
delay .1
stream 5 {
txreq -url /https
rxresp
expect resp.status == 200
expect resp.bodylen == 6
expect resp.body == "123456"
} -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