[master] d4cad81f9 param: Bump maximum http_req_overflow_status to 500

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Apr 15 10:34:05 UTC 2025


commit d4cad81f97e6d214d4326d99e39dbca7a56e362b
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Mar 31 11:46:43 2025 +0200

    param: Bump maximum http_req_overflow_status to 500
    
    There are only two hard things in Computer Science^W^WVarnish:
    
    - cache invalidation
    - naming parameters
    - off by one error status codes

diff --git a/include/tbl/params.h b/include/tbl/params.h
index c66c3e8f4..9f0f581b2 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -655,7 +655,7 @@ PARAM_SIMPLE(
 	/* name */	http_req_overflow_status,
 	/* type */	uint_orzero,
 	/* min */	"400",
-	/* max */	"499",
+	/* max */	"500",
 	/* def */	"0",
 	/* units */	"HTTP status code or 0 to disable",
 	/* descr */
@@ -665,7 +665,9 @@ PARAM_SIMPLE(
 	"Note that there is no standard HTTP status which exactly matches "
 	"the implementation of http_req_size. 414 applies to the URL only, "
 	"while 413 applies to the request body. 400 is probably the least "
-	"incorrect alternative value to sending no response at all (0)."
+	"incorrect alternative value to sending no response at all (0). It "
+	"can also be seen as an internal error on the Varnish side due to "
+	"configured limits, so 500 is also allowed."
 )
 
 PARAM_SIMPLE(


More information about the varnish-commit mailing list