varnishtest "H2 panic"

server s1 {
	rxreq
	txresp
} -start

varnish v1 -vcl+backend {
	import vtc;

	sub vcl_recv {
		vtc.panic("H2 panic");
	}
} -start

varnish v1 -cliok "param.set feature +http2"
varnish v1 -cliok "param.set feature +no_coredump"
varnish v1 -cliok "param.set debug +syncvsl"

client c1 {
	stream 1 {
		txreq -hdr :authority foo.bar -pad cotton
	} -run
	expect_close
} -run

varnish v1 -cliok "panic.clear"

varnish v1 -expectexit 0x20
