Commit af661afb authored by Geoff Simmons's avatar Geoff Simmons

Add an HTTP/2 test for e13.vtc.

parent 78d0f4ba
varnishtest "All white-space object, in multiple storage segments" varnishtest "All white-space object, in multiple storage segments"
server s1 { server s1 {
rxreq loop 2 {
expect req.url == "/foo" rxreq
txresp -nolen -hdr "Transfer-Encoding: chunked" expect req.url ~ {^/foo\d$}
chunked {<x> } txresp -nolen -hdr "Transfer-Encoding: chunked"
chunkedlen 0 chunked {<x> }
chunkedlen 0
}
} -start } -start
varnish v1 -vcl+backend { varnish v1 -vcl+backend {
...@@ -23,8 +25,24 @@ varnish v1 -vcl+backend { ...@@ -23,8 +25,24 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "debug.fragfetch 4" varnish v1 -cliok "debug.fragfetch 4"
client c1 { client c1 {
txreq -url /foo txreq -url /foo1
rxresp rxresp
expect resp.bodylen == 41
expect resp.body == {<x> }
} -run } -run
varnish v1 -expect esi_errors == 0 varnish v1 -expect esi_errors == 0
## HTTP/2
varnish v1 -cliok "param.set feature +http2"
client c1 {
stream 1 {
txreq -url /foo2
rxresp
expect resp.status == 200
expect resp.bodylen == 41
expect resp.body == {<x> }
} -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