Skip to content

Commit

Permalink
Add a H1 testcase which exercises the single like of code which
Browse files Browse the repository at this point in the history
triggers this bug for H2.  (H2 will be added to the testcase as part
of the fix.)
  • Loading branch information
bsdphk committed Mar 21, 2017
1 parent d87dcf1 commit 29db5c9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions bin/varnishtest/tests/r02258.vtc
@@ -0,0 +1,24 @@
varnishtest "Streaming range premature finish"

server s1 {
non_fatal
rxreq
txresp -nolen -hdr "Content-length: 9"
delay 1
send "BLA"
delay .4
send "BLA"
delay .3
send "BL"
} -start

varnish v1 -vcl+backend { } -start

client c1 {
txreq -hdr "range: bytes=0-16"
rxresp -no_obj
expect resp.status == 206
expect resp.http.content-length == 9
recv 8
expect_close
} -run

0 comments on commit 29db5c9

Please sign in to comment.