]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: Add a connection error code sample fetch
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 29 Jul 2021 07:45:49 +0000 (09:45 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 29 Jul 2021 13:40:45 +0000 (15:40 +0200)
commit3d2093af9bec2b73ed285b967f434f6bc3b7af9b
treea491443682c047d75d8a74f6c693c37eed8402a3
parent0aa4130d6545ced3ad396f9a904fd6f579df291d
MINOR: connection: Add a connection error code sample fetch

The fc_conn_err and fc_conn_err_str sample fetches give information
about the problem that made the connection fail. This information would
previously only have been given by the error log messages meaning that
thanks to these fetches, the error log can now be included in a custom
log format. The log strings were all found in the conn_err_code_str
function.
doc/configuration.txt
include/haproxy/connection-t.h
src/connection.c