vtest "Extra Connection header erroneously inserted."

server s1 {
	rxreq
	txresp
} -start

vinyl v2 -vcl+backend {
	sub vcl_deliver {
		set resp.http.Connection = "close";
	}
} -start

vinyl v1 -vcl {
	import std;

	backend b {
		.host = "${v2_addr}";
		.port = "${v2_port}";
	}

	sub vcl_backend_response {
		std.collect(beresp.http.Connection);
		set beresp.http.foo = beresp.http.Connection;
	}
} -start

client c1 {
	txreq
	rxresp
	expect resp.http.foo == "close"
} -run
