[master] 83b238ed4 fiddling to bring back an overflow where we test for it

Nils Goroll nils.goroll at uplex.de
Thu Jan 16 10:28:05 UTC 2020


commit 83b238ed429c60e3b7b5631bb46808093a0b37ed
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Jan 16 11:18:33 2020 +0100

    fiddling to bring back an overflow where we test for it

diff --git a/bin/varnishtest/tests/o00005.vtc b/bin/varnishtest/tests/o00005.vtc
index b09a8fcaf..90056f0c3 100644
--- a/bin/varnishtest/tests/o00005.vtc
+++ b/bin/varnishtest/tests/o00005.vtc
@@ -204,51 +204,6 @@ varnish v1 -vsl_catchup
 
 logexpect l1 -wait
 
-client c1 {
-	# PROXY2 sp->ws overflow
-	sendhex {
-		0d 0a 0d 0a 00 0d 0a 51 55 49 54 0a
-		21 11 01 23
-		d9 46 b5 21
-		5f 8e a8 22
-		ed 96
-		01 bb
-		03 00 04  c5 1b 5b 2b
-		01 00 02  68 32
-		02 00 c8  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61 61 61 61 61 61 61 61 61 61
-			  61 61
-		20 00 3d
-		01 00 00 00 00
-		21 00 07  54 4c 53 76 31 2e 33
-		25 00 05  45 43 32 35 36
-		24 00 0a  52 53 41 2d 53 48 41 32 35 36
-		23 00 16  41 45 41 44 2d 41 45 53 31 32 38
-			  2d 47 43 4d 2d 53 48 41 32 35 36
-	}
-	expect_close
-} -run
-
-delay 1
-
-varnish v1 -expect ws_session_overflow == 1
-
 # workspace overflow handling elsewhere in the proxy code
 #
 # the workspace_session size is chosen to fail as closely as possible
@@ -315,4 +270,55 @@ client c2 {
 	expect_close
 } -run
 
+varnish v1 -expect ws_session_overflow == 1
+
+# increased workspace is being reflected immediately
+
+varnish v1 -cliok "param.set workspace_session 536"
+
+delay 1
+
+client c1 {
+	# PROXY2 sp->ws overflow
+	sendhex {
+		0d 0a 0d 0a 00 0d 0a 51 55 49 54 0a
+		21 11 01 23
+		d9 46 b5 21
+		5f 8e a8 22
+		ed 96
+		01 bb
+		03 00 04  c5 1b 5b 2b
+		01 00 02  68 32
+		02 00 c8  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61 61 61 61 61 61 61 61 61 61
+			  61 61
+		20 00 3d
+		01 00 00 00 00
+		21 00 07  54 4c 53 76 31 2e 33
+		25 00 05  45 43 32 35 36
+		24 00 0a  52 53 41 2d 53 48 41 32 35 36
+		23 00 16  41 45 41 44 2d 41 45 53 31 32 38
+			  2d 47 43 4d 2d 53 48 41 32 35 36
+	}
+	expect_close
+} -run
+
+delay 1
+
 varnish v1 -expect ws_session_overflow == 2


More information about the varnish-commit mailing list