[7.3] edc29dfa2 vmod_h2: Polish manual
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Oct 24 15:08:15 UTC 2023
commit edc29dfa2656fc79d572fb9e39b6fd798ce20998
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Tue Oct 24 14:13:39 2023 +0200
vmod_h2: Polish manual
diff --git a/vmod/vmod_h2.vcc b/vmod/vmod_h2.vcc
index cd7529c9f..b96ac5a8b 100644
--- a/vmod/vmod_h2.vcc
+++ b/vmod/vmod_h2.vcc
@@ -34,7 +34,8 @@ DESCRIPTION
===========
This VMOD contains functions to control the HTTP2 transport built into
-Varnish-Cache.
+Varnish-Cache. Using VMOD outside of a client context will immediately
+fail the VCL transaction.
$Function BOOL is()
@@ -49,8 +50,7 @@ Returns -1 when used outside the HTTP2 transport. Otherwise returns
the previous value.
If the call leads to a change in the rate limit parameters, the
-current budget as retuned by
-`h2.rapid_reset_budget()`_ is reset.
+current budget as retuned by `h2.rapid_reset_budget()`_ is reset.
$Function INT rapid_reset_limit([INT number])
@@ -61,8 +61,7 @@ Returns -1 when used outside the HTTP2 transport. Otherwise returns
the previous value.
If the call leads to a change in the rate limit parameters, the
-current budget as retuned by
-`h2.rapid_reset_budget()`_ is reset.
+current budget as retuned by `h2.rapid_reset_budget()`_ is reset.
$Function DURATION rapid_reset_period([DURATION duration])
@@ -73,8 +72,7 @@ Returns -1 when used outside the HTTP2 transport. Otherwise returns
the previous value.
If the call leads to a change in the rate limit parameters, the
-current budget as retuned by
-`h2.rapid_reset_budget()`_ is reset.
+current budget as retuned by `h2.rapid_reset_budget()`_ is reset.
$Function REAL rapid_reset_budget()
More information about the varnish-commit
mailing list