]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: fix example of http-request using ssl_fc_session_id
authorWilly Tarreau <w@1wt.eu>
Thu, 27 Aug 2015 15:15:05 +0000 (17:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 27 Aug 2015 15:16:40 +0000 (17:16 +0200)
It was missing the ",hex" resulting in raw binary data being dumped in
the header or the logs. Now we know where these crazy logs originated
from!

doc/configuration.txt

index 2da8f92c3293280ceabbd26eb48a7195e5d265ba..465956174c8ab77ee13e93a6fe31290365e8b5fd 100644 (file)
@@ -3709,7 +3709,7 @@ http-request { allow | deny | tarpit | auth [realm <realm>] | redirect <rule> |
   Example:
         http-request set-header X-Haproxy-Current-Date %T
         http-request set-header X-SSL                  %[ssl_fc]
-        http-request set-header X-SSL-Session_ID       %[ssl_fc_session_id]
+        http-request set-header X-SSL-Session_ID       %[ssl_fc_session_id,hex]
         http-request set-header X-SSL-Client-Verify    %[ssl_c_verify]
         http-request set-header X-SSL-Client-DN        %{+Q}[ssl_c_s_dn]
         http-request set-header X-SSL-Client-CN        %{+Q}[ssl_c_s_dn(cn)]