vtest "#1356, req.body failure"

server s1 {
	rxreqhdrs
	expect_close
} -start

vinyl v1 -vcl+backend { } -start

client c1 {
	txreq -req POST -nolen -hdr "Transfer-Encoding: carrier-pigeon"
	rxresp
	expect resp.status == 400
} -run

client c1 {
	txreq -req POST -nolen -hdr "Content-Length: carrier-pigeon"
	rxresp
	expect resp.status == 400
} -run

client c1 {
	txreq -req POST -nolen -hdr "Content-Length: 56"
} -run

# Check that vinyld still runs

server s1 {
	rxreq
	txresp
} -start

client c1 {
	txreq
	rxresp
	expect resp.status == 200
} -run
