You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.3 KiB

  1. From d3a93a932430bc1a4cd5d1350820c2bec706e26d Mon Sep 17 00:00:00 2001
  2. From: Willy Tarreau <w@1wt.eu>
  3. Date: Thu, 27 Aug 2015 17:15:05 +0200
  4. Subject: [PATCH 13/13] DOC: fix example of http-request using
  5. ssl_fc_session_id
  6. It was missing the ",hex" resulting in raw binary data being dumped in
  7. the header or the logs. Now we know where these crazy logs originated
  8. from!
  9. (cherry picked from commit fca4261dacab51db960d30120f4bb4201f7e4a51)
  10. ---
  11. doc/configuration.txt | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/doc/configuration.txt b/doc/configuration.txt
  14. index 1d95b5b..67d273b 100644
  15. --- a/doc/configuration.txt
  16. +++ b/doc/configuration.txt
  17. @@ -3135,7 +3135,7 @@ http-request { allow | deny | tarpit | auth [realm <realm>] | redirect <rule> |
  18. Example:
  19. http-request set-header X-Haproxy-Current-Date %T
  20. http-request set-header X-SSL %[ssl_fc]
  21. - http-request set-header X-SSL-Session_ID %[ssl_fc_session_id]
  22. + http-request set-header X-SSL-Session_ID %[ssl_fc_session_id,hex]
  23. http-request set-header X-SSL-Client-Verify %[ssl_c_verify]
  24. http-request set-header X-SSL-Client-DN %{+Q}[ssl_c_s_dn]
  25. http-request set-header X-SSL-Client-CN %{+Q}[ssl_c_s_dn(cn)]
  26. --
  27. 2.4.6