]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: configuration: http-check expect example typo
authorTom Braarup <Tom.Braarup@jppol.dk>
Thu, 26 Feb 2026 12:30:21 +0000 (12:30 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 12 Mar 2026 08:20:32 +0000 (09:20 +0100)
On the http-check expect example
(https://docs.haproxy.org/dev/configuration.html#4.2-http-check%20expect)
there is a typo

-http-check expect header name "set-cookie" value -m beg "sessid="
+http-check expect hdr name "set-cookie" value -m beg "sessid="

doc/configuration.txt

index 131940f427f026f5a6ebf1eaf09851621908412d..5c59515c6122d76075e25c025de151aee1846b4f 100644 (file)
@@ -8263,7 +8263,7 @@ http-check expect [min-recv <int>] [comment <msg>]
          http-check expect status 200,201,300-310
 
          # be sure a sessid coookie is set
-         http-check expect header name "set-cookie" value -m beg "sessid="
+         http-check expect hdr name "set-cookie" value -m beg "sessid="
 
          # consider SQL errors as errors
          http-check expect ! string SQL\ Error