]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: httpclient: complete the https log
authorWilliam Lallemand <wlallemand@irq6.net>
Sat, 22 Nov 2025 11:29:33 +0000 (12:29 +0100)
committerWilliam Lallemand <wlallemand@irq6.net>
Sat, 22 Nov 2025 11:29:33 +0000 (12:29 +0100)
commit5dbf06e205330b5413c07fe6ade766511b9ee547
treebb2dc6c50b371731b68d49628cde2c692cf1ad52
parent0cae2f05157ac4a3f9d482780de7f98070b02e97
MINOR: httpclient: complete the https log

The httpsclient_log_format variable lacks a few values in the TLS fields
that are now available as fetches.

On the backend side we have:

"%[fc_err]/%[ssl_fc_err,hex]/%[ssl_c_err]/%[ssl_c_ca_err]/%[ssl_fc_is_resumed] %[ssl_fc_sni]/%sslv/%sslc"

We now have enough sample fetches to have this equivalent in the
httpclient:

"%[bc_err]/%[ssl_bc_err,hex]/%[ssl_c_err]/%[ssl_c_ca_err]/%[ssl_bc_is_resumed] %[ssl_bc_sni]/%[ssl_bc_protocol]/%[ssl_bc_cipher]"

Instead of the current:

"%[bc_err]/%[ssl_bc_err,hex]/-/-/%[ssl_bc_is_resumed] -/-/-"
src/log.c