- [PATCH 05/13] BUG/MINOR: http/sample: gmtime/localtime can fail - [PATCH 06/13] DOC: typo in 'redirect', 302 code meaning - [PATCH 07/13] DOC: mention that %ms is left-padded with zeroes. - [PATCH 08/13] CLEANUP: .gitignore: ignore more test files - [PATCH 09/13] CLEANUP: .gitignore: finally ignore everything but what - [PATCH 10/13] MEDIUM: config: emit a warning on a frontend without - [PATCH 11/13] BUG/MEDIUM: counters: ensure that src_{inc,clr}_gpc0 - [PATCH 12/13] DOC: ssl: missing LF - [PATCH 13/13] DOC: fix example of http-request using Signed-off-by: heil <heil@terminal-consulting.de>
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
From d3a93a932430bc1a4cd5d1350820c2bec706e26d Mon Sep 17 00:00:00 2001
|
|
From: Willy Tarreau <w@1wt.eu>
|
|
Date: Thu, 27 Aug 2015 17:15:05 +0200
|
|
Subject: [PATCH 13/13] DOC: fix example of http-request using
|
|
ssl_fc_session_id
|
|
|
|
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!
|
|
(cherry picked from commit fca4261dacab51db960d30120f4bb4201f7e4a51)
|
|
---
|
|
doc/configuration.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/doc/configuration.txt b/doc/configuration.txt
|
|
index 1d95b5b..67d273b 100644
|
|
--- a/doc/configuration.txt
|
|
+++ b/doc/configuration.txt
|
|
@@ -3135,7 +3135,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)]
|
|
--
|
|
2.4.6
|
|
|