[master] 4b03546aa vtc: Stabilize c69

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Jun 22 07:04:05 UTC 2021


commit 4b03546aac3bc365977f45acf9bf7ad47c944995
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Jun 22 09:02:00 2021 +0200

    vtc: Stabilize c69
    
    Latch the barrier _after_ reading resp.is_streaming.

diff --git a/bin/varnishtest/tests/c00069.vtc b/bin/varnishtest/tests/c00069.vtc
index 55e9557d0..3f91696a6 100644
--- a/bin/varnishtest/tests/c00069.vtc
+++ b/bin/varnishtest/tests/c00069.vtc
@@ -27,10 +27,10 @@ varnish v1 -vcl+backend {
 		set resp.http.streaming = resp.is_streaming;
 	}
 	sub vcl_deliver {
+		set resp.http.streaming = resp.is_streaming;
 		if (obj.hits == 0) {
 			vtc.barrier_sync("${b2_sock}");
 		}
-		set resp.http.streaming = resp.is_streaming;
 	}
 } -start
 


More information about the varnish-commit mailing list