]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listener: Remove useless checks on the receiver protocol existence
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Nov 2024 08:35:00 +0000 (09:35 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Nov 2024 08:35:01 +0000 (09:35 +0100)
commit1cc9340afde6adfe4c7cc06f69cbdf65370c544b
tree20ff186c9249ddd666e3bb74a5d1daecbcd3a34d
parent217e467e89d15f3c22e11fe144458afbf718c8a8
MINOR: listener: Remove useless checks on the receiver protocol existence

The receiver protocol is always set when a listener is created or cloned. At
least for now. And there is no check on it at many places, except in
listener_accept() function. So, let's remove remaining useless checks. That
will avoid false Coverity reports in future.

This patch should fix the issue #2631.
src/listener.c