vtest "Test that oc->oa_present is cleared when we create a new object"

server s1 {
	rxreq
	txresp -hdr "Vary: buzz" -nolen -hdr "Content-Length: 10240" \
	       -body 1024
} -start

vinyl v1 -vcl+backend {
	sub vcl_backend_fetch {
		set bereq.between_bytes_timeout = 0.001s;
	}
	sub vcl_backend_response {
		set beresp.do_stream = false;
	}
	sub vcl_backend_error {
		set beresp.status = 200;
		set beresp.ttl = 1h;
		return (deliver);
	}
} -start

client c1 {
	txreq -url "/"
	rxresp
	expect resp.status == 200
} -run
client c2 {
	txreq -url "/"
	rxresp
	expect resp.status == 200
} -run
