varnishtest "very very very long return header"

server s1 {
	rxreq
	expect req.url == "/"
	txresp -hdr "Location: [encoded data, 8136 characters]" -body {foo}
} -start

varnish v1 -vcl+backend {
} -start

varnish v1 -cliok "param.set http_resp_hdr_len 32768"

client c1 {
	txreq
	rxresp
	expect resp.bodylen == 3
} -run
