Add a variation of varnish-cache c62.vtc

parent e1b3e40f
......@@ -149,6 +149,7 @@ VTC_TESTS = \
vtc/fellow_global.vtc \
vtc/fellow_global_shared.vtc \
vtc/fellow_coverage.vtc \
vtc/fellow_c00062.vtc \
vtc/fellow_c00093.vtc \
vtc/fellow_t02005.vtc \
vtc/fellow_cl.vtc \
......
varnishtest "Check that aborted backend body aborts client in streaming mode"
barrier b1 cond 2
barrier b2 cond 2
server s1 {
rxreq
txresp -nolen -hdr "Transfer-encoding: chunked"
chunkedlen 4096
barrier b1 sync
chunkedlen 4096
barrier b2 sync
} -start
varnish v1 \
-arg "-jnone " \
-arg "-p debug=+syncvsl" \
-arg "-E${libvmod_slash}" \
-arg "-sfellow=fellow,${tmpdir}/fellow_global.stv,100MB,1MB,64KB" \
-vcl+backend {
import slash;
sub vcl_init {
slash.tune_fellow(storage.fellow, chunk_exponent=12);
}
} -start
client c1 {
txreq
rxresphdrs
expect resp.status == 200
rxchunk
barrier b1 sync
rxchunk
barrier b2 sync
expect_close
} -run
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment