]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: frontend: switch to conn_get_{src,dst}() for logging and debugging
authorWilly Tarreau <w@1wt.eu>
Wed, 17 Jul 2019 09:25:46 +0000 (11:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Jul 2019 11:50:09 +0000 (13:50 +0200)
commita0a4b09d0881e6793295f5c10c92ae4592378efd
tree003d2abd75d0729b81e1936d57fdde41c1ad86a6
parent2e34c1145868e5303ed842ea5a3e52b71cdbe82f
MINOR: frontend: switch to conn_get_{src,dst}() for logging and debugging

The frontend accept code uses conn_get_{from,to}_addr for logging and
debugging, without really checking if the operation succeeds. In
preparation of future changes, let's switch to conn_get_{src,dst}() and
integrate status check for possible failures.
src/frontend.c