MINOR: connection: add helper conn_append_debug_info()
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Jun 2021 15:35:20 +0000 (17:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Jun 2021 16:30:42 +0000 (18:30 +0200)
commitd943a044aa1ff4808b7b06cbd7a4c2fef659035c
treed06d14c4173b9a65a5782c2d1d674c5eb9a527df
parentb74debd8264265b19ba81f5c3e6c447b7601f3b0
MINOR: connection: add helper conn_append_debug_info()

This function appends to a buffer some information from a connection.
This will be used by traces and possibly some debugging as well. A
frontend/backend/server, transport/control layers, source/destination
ip:port, connection pointer and direction are reported depending on
the available information.
include/haproxy/connection.h
src/connection.c