vtest "pass, rollback, invalid range"

# ws_emu triggers #3550
feature !workspace_emulator

server s1 {
	rxreq
	expect req.url == "/baz"
	txresp -status 400
} -start

vinyl v1 -vcl+backend {
	import std;

	sub vcl_recv {
		return (pass);
	}
	sub vcl_backend_response {
		std.rollback(bereq);
		return (retry);
	}
} -start

client c1 {
	txreq -url "/baz" -hdr "range: 42"
	rxresp
} -run

server s1 -wait
