Hi,

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="

This is my first time contributing to Haproxy and using email patches, let me 
know this is done the proper way.  



-- 

 
Tom Braarup          
Senior Linux Administrator
IT Infrastruktur Platform - Digital Udvikling og Teknologi
________________________________


 


diff --git a/doc/configuration.txt b/doc/configuration.txt
index 5245fd084..f1ade453e 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -8254,7 +8254,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

Reply via email to