Commit 15ac6161 authored by Geoff Simmons's avatar Geoff Simmons

Add HTTP/2 tests for e06.vtc.

parent 03b60ae2
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment