varnishtest "insanely long vary string"

server s1 {
	rxreq
	txresp -hdr "Vary: Foo" -body "xxxx"
	rxreq
	txresp -hdr "Vary: Foo" -body "yyyyy"
} -start

varnish v1 -arg "-p vsl_buffer=4k" \
	-cliok "param.set workspace_client 10k" \
	-cliok "param.set workspace_backend 200k" \
	-vcl+backend {
} -start

client c1 {
	txreq -hdr "Foo: blabla"
	rxresp
	expect resp.bodylen == 4
	#txreq -hdr "Foo: blablaA"
	txreq -hdr "Foo: blabla${string,repeat,1430,A}"
	rxresp
	expect resp.bodylen == 5
} -run
