varnishtest "Bug 1068 restart on hit in vcl_deliver causes segfault"

server s1 {
	rxreq
	txresp
} -start

varnish v1 -vcl+backend {
	sub vcl_deliver {
		if (req.http.x-restart && req.restarts == 0) {
			return (restart);
		}
	}
} -start

client c1 {
	txreq
	rxresp
	expect resp.status == 200

	txreq -hdr "x-restart: true"
	rxresp
	expect resp.status == 200
} -run
