commit | 34a3eb4c4275ef2475ea6848e08e98ae2615bf13 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Nov 05 12:02:56 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Nov 05 15:25:34 2021 +0100 |
tree | ee247ab19860478cec51bd65d226d26801c546b3 | |
parent | b0006eee09ff5e4ac11f25dfe1f366804acb1382 [diff] |
MINOR: backend: Get client dst address to set the server's one only if needful In alloc_dst_address(), the client destination address must only be retrieved when we are sure to use it. Most of time, this save a syscall to getsockname(). It is not a bugfix in itself. But it revealed a bug in the QUIC part. The CO_FL_ADDR_TO_SET flag is not set when the destination address is create for anew quic client connection.