varnishtest "h1 send_timeout and streaming of dripping chunks"

barrier b cond 2

server s1 {
	rxreq
	txresp -nolen -hdr "Transfer-Encoding: chunked"
	chunkedlen 1
	delay 1
	non_fatal
	barrier b sync
	chunkedlen 1
	delay 1
	chunkedlen 0
} -start

varnish v1				\
	-arg "-p idle_send_timeout=.1"	\
	-arg "-p send_timeout=.8"	\
	-vcl+backend { } -start

client c1 {
	txreq
	rxresphdrs
	rxchunk
	barrier b sync
	expect_close
} -run
