Commit c614d62e authored by Federico G. Schwindt's avatar Federico G. Schwindt

Test case for #1627

parent b62cc4a1
varnishtest "#1627, wrong CL for gzipped+streamed content with HTTP/1.0 client"
server s1 {
rxreq
txresp -body "Testing"
} -start
varnish v1 -vcl+backend {
sub vcl_backend_response {
set beresp.do_stream = true;
set beresp.do_gzip = true;
}
} -start
client c1 {
txreq -proto "HTTP/1.0" -hdr "Accept-Encoding: gzip"
rxresp
gunzip
expect resp.bodylen == 7
} -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