From 38a7d8599d4b9e2b47f0b57aa318304d40abbd34 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Fri, 20 Mar 2026 11:36:44 +0100 Subject: [PATCH] DOC: config: Reorder params for 'tcp-check expect' directive Order of parameters for the 'tcp-check expect' directive is changed to be the same than 'http-check expect'. --- doc/configuration.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index c9bfd976e..c50240f81 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -13701,13 +13701,6 @@ tcp-check expect [min-recv ] [comment ] does not match, the check will wait for more data. If set to 0, the evaluation result is always conclusive. - is a keyword indicating how to look for a specific pattern in the - response. The keyword may be one of "string", "rstring", "binary" or - "rbinary". - The keyword may be preceded by an exclamation mark ("!") to negate - the match. Spaces are allowed between the exclamation mark and the - keyword. See below for more details on the supported keywords. - ok-status is optional and can be used to set the check status if the expect rule is successfully evaluated and if it is the last rule in the tcp-check ruleset. "L7OK", "L7OKC", @@ -13755,6 +13748,13 @@ tcp-check expect [min-recv ] [comment ] standard HAProxy expression formed by a sample-fetch followed by some converters. + is a keyword indicating how to look for a specific pattern in the + response. The keyword may be one of "string", "rstring", "binary" or + "rbinary". + The keyword may be preceded by an exclamation mark ("!") to negate + the match. Spaces are allowed between the exclamation mark and the + keyword. See below for more details on the supported keywords. + is the pattern to look for. It may be a string or a regular expression. If the pattern contains spaces, they must be escaped with the usual backslash ('\').