Commit c4d56d76 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Add test case for v-c.org ticket #1157 (connection close on pass and

do_stream)

Bug fix itself is not applicable to trunk, but has been pushed on 3.0.
parent 8e253dbe
varnishtest "#1157 - Connection close on pass and do_stream"
server s1 {
rxreq
txresp
expect req.url == "/"
rxreq
txresp
expect req.url == "/"
} -start
varnish v1 -vcl+backend {
sub vcl_recv { return (pass); }
sub vcl_fetch { set beresp.do_stream = true; }
} -start
client c1 {
txreq -url /
rxresp
expect resp.status == 200
txreq -url /
rxresp
expect resp.status == 200
} -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