From e7267120d5622acaf6fcc5d82f520655cf86e11f Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 2 Sep 2021 20:51:21 +0200 Subject: [PATCH] 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. --- doc/configuration.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 987ea45c2..59bf55773 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