[7.5] 0b82e0070 param: New h2_window_timeout parameter
    Simon Stridsberg 
    simon.stridsberg at varnish-software.com
       
    Mon Mar 18 18:26:06 UTC 2024
    
    
  
commit 0b82e00708b88f696af5881b7a19caf2144d13f7
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Oct 23 11:49:23 2023 +0200
    param: New h2_window_timeout parameter
    
    This parameter needs to be somewhat high because web browsers may for
    example only credit streams for image resources just enough to parse
    metadata like width and height of a picture in order to perform layout
    computations and fetch resources more sensitive to latency before the
    effective image payloads.
diff --git a/include/tbl/params.h b/include/tbl/params.h
index e96d75483..42d72947b 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1205,6 +1205,20 @@ PARAM_SIMPLE(
 	/* flags */	WIZARD
 )
 
+PARAM_SIMPLE(
+	/* name */	h2_window_timeout,
+	/* type */	timeout,
+	/* min */	"0",
+	/* max */	NULL,
+	/* def */	"5",
+	/* units */	"seconds",
+	/* descr */
+	"HTTP2 time limit without window credits. How long a stream may "
+	"wait for the client to credit the window and allow for more DATA "
+	"frames to be sent.",
+	/* flags */	WIZARD
+)
+
 PARAM_SIMPLE(
 	/* name */	h2_header_table_size,
 	/* type */	bytes_u,
    
    
More information about the varnish-commit
mailing list