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.

(cherry picked from commit d943a044aa1ff4808b7b06cbd7a4c2fef659035c)
Signed-off-by: Willy Tarreau <w@1wt.eu>
2 files changed