BUG/MINOR: proto_tcp: Report warning messages when listeners are bound
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Oct 2020 09:14:47 +0000 (11:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Oct 2020 12:07:16 +0000 (14:07 +0200)
commita10000305f65265f51cb9aa7cb86409c794126d2
treebf27781364d3331ef7ecd44f5989eb10270c1af1
parent3f1977c9343366e114dc3d3a661e2fb6b0651147
BUG/MINOR: proto_tcp: Report warning messages when listeners are bound

When a TCP listener is bound, in the tcp_bind_listener() function, a warning
message may be reported and should be displayed on verbose mode. But the warning
message is actually lost if the socket is successfully bound because we don't
fill the <errmsg> variable in this case.

This patch should fix the issue #863. No backport is needed.
src/proto_tcp.c