Mailing List Archive

[master] 1ae702957 whats-new: Keep consistent bits examples
commit 1ae7029575c727a6b37135da4ba474027161f46b
Author: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Date: Fri Mar 15 15:07:54 2024 +0100

whats-new: Keep consistent bits examples

diff --git a/doc/sphinx/whats-new/changes-trunk.rst b/doc/sphinx/whats-new/changes-trunk.rst
index 706b37868..2a6b36474 100644
--- a/doc/sphinx/whats-new/changes-trunk.rst
+++ b/doc/sphinx/whats-new/changes-trunk.rst
@@ -113,8 +113,14 @@ relative to none of the bits being set. A list of bits can start with the
special value ``none`` to clear all the bits, followed by specific bits to
raise::

+ # atomically update and capture feature flags
$ varnishadm param.set -j feature +http2 | jq -r '.[3].value'
none,+http2,+validate_headers
+
+ # very insistent systems administrator
+ $ varnishadm param.set feature +no_coredump | jq -r '.[3].value'
+
+ # successful attempt at restoring the captured value
$ varnishadm param.set -j feature none,+http2,+validate_headers | jq -r '.[3].value'
none,+http2,+validate_headers

_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit