From: Christopher Faulet Date: Fri, 20 Mar 2026 10:33:32 +0000 (+0100) Subject: DOC: config: Add missing 'status-code' param for 'http-check expect' directive X-Git-Tag: v3.4-dev8~117 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=82afd36b6cb470de14188f7c27e131b03a65466c;p=thirdparty%2Fhaproxy.git DOC: config: Add missing 'status-code' param for 'http-check expect' directive In the documentation of 'http-check expect' directive, the parameter 'status-code' was missing. Let's add it. This patch could be backported to all stable versions. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index a5195a1d7..c9bfd976e 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -8326,6 +8326,11 @@ http-check expect [min-recv ] [comment ] occurred during the expect rule evaluation. is a Custom log format string (see section 8.2.6). + status-code is optional and can be used to set the check status code + reported in logs, on success or on error. is a + 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 "status", "rstatus", "hdr", "fhdr", "string", or "rstring". The keyword may be preceded by an