vtest "NULL assignment to line1 fields."

server s1 {
	rxreq
	txresp  -bodylen 10
} -start

vinyl v1 -vcl+backend {
	sub vcl_recv {
		set req.url = req.http.foo;
	}
} -start

client c1 {
	txreq
	rxresp
	expect resp.status == 503
	expect resp.reason == "VCL failed"
} -run

vinyl v1 -vcl+backend {
	sub vcl_backend_fetch {
		set bereq.url = bereq.http.foo;
	}
}

client c1 {
	txreq
	rxresp
	expect resp.status == 503
	expect resp.reason == "Service Unavailable"
} -run
