Mailing List Archive

[6.0] 9572267c9 param: New h2_window_timeout parameter
commit 9572267c95e66fe7244aedb3bc357e1ba428e921
Author: Dridi Boukelmoune <dridi.boukelmoune@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.

Conflicts:
include/tbl/params.h

diff --git a/include/tbl/params.h b/include/tbl/params.h
index 665303db4..f99bb6ad4 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1800,6 +1800,22 @@ PARAM(
/* func */ NULL
)

+PARAM(
+ /* name */ h2_window_timeout,
+ /* typ */ timeout,
+ /* min */ "0",
+ /* max */ NULL,
+ /* def */ "5",
+ /* units */ "seconds",
+ /* flags */ WIZARD,
+ /* s-text */
+ "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.",
+ /* l-text */ "",
+ /* func */ NULL
+)
+
PARAM(
/* name */ h2_header_table_size,
/* typ */ bytes_u,
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit