[master] 351cac103 vtc: Simplify c34

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Fri Sep 27 06:03:11 UTC 2024


commit 351cac103c2d4c09feae870c65f845a8ce9829c3
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Fri Sep 27 08:00:41 2024 +0200

    vtc: Simplify c34
    
    Refs #4137

diff --git a/bin/varnishtest/tests/c00034.vtc b/bin/varnishtest/tests/c00034.vtc
index 1331c265d..86152e004 100644
--- a/bin/varnishtest/tests/c00034.vtc
+++ b/bin/varnishtest/tests/c00034.vtc
@@ -274,16 +274,8 @@ varnish v1 -vcl+backend {
 		}
 	}
 
-	# skip built-in vcl_beresp_range
-	sub vcl_backend_response {
-		if (bereq.uncacheable) {
-			return (deliver);
-		}
-		call vcl_beresp_stale;
-		call vcl_beresp_cookie;
-		call vcl_beresp_control;
-		call vcl_beresp_vary;
-		return (deliver);
+	sub vcl_beresp_range {
+		return;
 	}
 }
 


More information about the varnish-commit mailing list