[7.3] 7e48cbad9 param: New h2_window_timeout parameter
Simon Stridsberg
simon.stridsberg at varnish-software.com
Mon Mar 18 18:23:06 UTC 2024
commit 7e48cbad9d1ba68fab738c08cf41478a1f21f1a5
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 4ee8d01e1..fb8ded96a 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1179,6 +1179,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