[master] 2e48fba Verify that s_resp_bodybytes is indeed incremented the correct number of bytes on partial content responses.

Dag Haavi Finstad daghf at varnish-software.com
Mon May 26 15:07:14 CEST 2014


commit 2e48fbaf3b02caaae6b7f51b58e70dd07afc3238
Author: Dag Haavi Finstad <daghf at varnish-software.com>
Date:   Mon May 26 15:06:26 2014 +0200

    Verify that s_resp_bodybytes is indeed incremented the correct number of bytes on partial content responses.

diff --git a/bin/varnishtest/tests/c00034.vtc b/bin/varnishtest/tests/c00034.vtc
index ede05b2..513038c 100644
--- a/bin/varnishtest/tests/c00034.vtc
+++ b/bin/varnishtest/tests/c00034.vtc
@@ -90,3 +90,5 @@ client c1 {
 	expect resp.status == 206
 	expect resp.bodylen == 100
 } -run
+
+varnish v1 -expect s_resp_bodybytes == 1040



More information about the varnish-commit mailing list