]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proto_tcp: use chunk_appendf() to ouput socket setup errors
authorBjoern Jacke <bjacke@samba.org>
Tue, 12 Jan 2021 18:24:43 +0000 (19:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 14 Oct 2021 19:22:52 +0000 (21:22 +0200)
commited1748553a867be7d1dda6fc64d2714d6ce9022e
treed7a6e2cd0028a8fdbe8e75a80079f2f0708f3eeb
parent1dbf578ee0fd45ca7d0c5d1a234a876d140206a0
MINOR: proto_tcp: use chunk_appendf() to ouput socket setup errors

Right now only the last warning or error is reported from
tcp_bind_listener(), but it is useful to report all warnings and no only
the last one, so we now emit them delimited by commas. Previously we used
a fixed buffer of 100 bytes, which was too small to store more than one
message, so let's extend it.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
src/proto_tcp.c
src/protocol.c