[master] 4038cbacc http2/vtc: Test that stream errors do not close the connection

Nils Goroll nils.goroll at uplex.de
Mon Mar 3 17:47:04 UTC 2025


commit 4038cbaccc95959d3c4ace3cfbc4b5c2a6d65883
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Mar 3 18:45:59 2025 +0100

    http2/vtc: Test that stream errors do not close the connection
    
    Closes #4283

diff --git a/bin/varnishtest/tests/t02023.vtc b/bin/varnishtest/tests/t02023.vtc
index 4ca8306c4..bdc722ce3 100644
--- a/bin/varnishtest/tests/t02023.vtc
+++ b/bin/varnishtest/tests/t02023.vtc
@@ -32,6 +32,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -40,6 +45,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -48,6 +58,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -56,6 +71,11 @@ client c1 {
 		rxresp
 		expect resp.status == 200
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 varnish v1 -vsl_catchup
@@ -66,6 +86,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -74,6 +99,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -82,6 +112,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -90,6 +125,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -98,6 +138,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -106,6 +151,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -114,6 +164,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {
@@ -122,6 +177,11 @@ client c1 {
 		rxrst
 		expect rst.err == PROTOCOL_ERROR
 	} -run
+	stream 3 {
+		txreq
+		rxresp
+		expect resp.status == 200
+	} -run
 } -run
 
 client c1 {


More information about the varnish-commit mailing list