commit | 3cc01d84b30ee216cb8ab5eec504cb26641f314f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 17 11:27:38 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 19 13:50:09 2019 +0200 |
tree | f274a17752b0e9da0c869d2707bb8620a79381f3 | |
parent | a0a4b09d0881e6793295f5c10c92ae4592378efd [diff] |
MINOR: backend: switch to conn_get_{src,dst}() for port and address mapping The backend connect code uses conn_get_{from,to}_addr to forward addresses in transparent mode and to map server ports, 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.