From: Willy Tarreau Date: Thu, 2 Sep 2021 18:51:21 +0000 (+0200) Subject: DOC: configuration: remove wrong tcp-request examples in tcp-response X-Git-Tag: v2.5-dev6~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7267120d5622acaf6fcc5d82f520655cf86e11f;p=thirdparty%2Fhaproxy.git DOC: configuration: remove wrong tcp-request examples in tcp-response There is a massive abuse of copy-paste in the doc that is visible in the examples and arguments declaration. Let's at least remove irrelevant examples for now. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 987ea45c23..59bf557737 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -12587,7 +12587,7 @@ tcp-response content [{if | unless} ] set-tos". - set-var() - Sets a variable. + Sets a variable from an expression. - unset-var() Unsets a variable. @@ -12681,17 +12681,9 @@ tcp-response content [{if | unless} ] Is a standard HAProxy expression formed by a sample-fetch followed by some converters. - Example: - - tcp-request content set-var(sess.my_var) src - The "unset-var" is used to unset a variable. See above for details about . - Example: - - tcp-request content unset-var(sess.my_var) - The "send-spoe-group" is used to trigger sending of a group of SPOE messages. To do so, the SPOE engine used to send messages must be defined, as well as the SPOE group to send. Of course, the SPOE engine must refer to an