[master] 5306a71 h2: Revise some param values to appease vtest's i386 builds

Dag Haavi Finstad daghf at varnish-software.com
Tue Jan 16 09:29:06 UTC 2018


commit 5306a71a4148ecf5ecfe19d3304a1f067b5445e0
Author: Dag Haavi Finstad <daghf at varnish-software.com>
Date:   Tue Jan 16 10:28:22 2018 +0100

    h2: Revise some param values to appease vtest's i386 builds

diff --git a/include/tbl/h2_settings.h b/include/tbl/h2_settings.h
index 04c24f3..adfb416 100644
--- a/include/tbl/h2_settings.h
+++ b/include/tbl/h2_settings.h
@@ -89,7 +89,7 @@ H2_SETTING(					// rfc7540,l,2159,2167
 	MAX_HEADER_LIST_SIZE,
 	max_header_list_size,
 	0x6,
-	0xffffffff,				// rfc7540,l,4229,4229
+	0x7fffffff,				// rfc7540,l,4229,4229
 	0,
 	0xffffffff,
 	0
diff --git a/include/tbl/params.h b/include/tbl/params.h
index 436c4af..8aaef7d 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1735,7 +1735,7 @@ PARAM(
 PARAM(
 	/* name */      h2_header_table_size,
 	/* typ */       bytes_u,
-	/* min */       "0",
+	/* min */       "0b",
 	/* max */       NULL,
 	/* default */   "4k",
 	/* units */     "bytes",
@@ -1752,7 +1752,7 @@ PARAM(
        /* name */      h2_max_concurrent_streams,
        /* typ */       uint,
        /* min */       "0",
-       /* max */       "4294967294",
+       /* max */       NULL,
        /* default */   "100",
        /* units */     "streams",
        /* flags */     0,
@@ -1768,8 +1768,8 @@ PARAM(
 	/* name */      h2_initial_window_size,
 	/* typ */       bytes_u,
 	/* min */       "0",
-	/* max */       "2147483647",
-	/* default */   "65535",
+	/* max */       "2147483647b",
+	/* default */   "65535b",
 	/* units */     "bytes",
 	/* flags */     0,
 	/* s-text */
@@ -1781,9 +1781,9 @@ PARAM(
 PARAM(
 	/* name */      h2_max_frame_size,
 	/* typ */       bytes_u,
-	/* min */       "16384",
-	/* max */       "16777215",
-	/* default */   "16384",
+	/* min */       "16k",
+	/* max */       "16777215b",
+	/* default */   "16k",
 	/* units */     "bytes",
 	/* flags */     0,
 	/* s-text */
@@ -1795,9 +1795,9 @@ PARAM(
 PARAM(
 	/* name */      h2_max_header_list_size,
 	/* typ */       bytes_u,
-	/* min */       "0",
+	/* min */       "0b",
 	/* max */       NULL,
-	/* default */   "4294967295",
+	/* default */   "2147483647b",
 	/* units */     "bytes",
 	/* flags */     0,
 	/* s-text */


More information about the varnish-commit mailing list