commit | 16aa4aff6bbc92d51c8b781ceb83b234f0b27dc2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jul 18 11:16:41 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 19 13:50:09 2019 +0200 |
tree | 7fd902ce0c201535436b822ac0e260010a6dd0cd | |
parent | e71fca81dd4871a853a4c7988d2cf67ebc763735 [diff] |
MINOR: connection: don't use clear_addr() anymore, just release the address Now that we have dynamically allocated addresses, there's no need to clear an address before reusing it, just release it. Note that this is not equivalent to saying that an address is never zero, as shown in assign_server_address() where an address 0.0.0.0 can still be assigned to a connection for the time it takes to modify it.