Mailing List Archive

[7.4] 7c5660820 param: New h2_window_timeout parameter
commit 7c5660820fb329eb3e8ca6a991b2ebf0defe4ddf
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.

diff --git a/include/tbl/params.h b/include/tbl/params.h
index 073e5be3b..600bf6a55 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1193,6 +1193,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,
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit