commit | ca79f59365c03c7c7422c80e9d9986f8834a95b8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 17 19:04:47 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 19 13:50:09 2019 +0200 |
tree | ef5b30fb961c1839d5e7913bb9ec2f4ae79a9745 | |
parent | ff5d57b02250f6c26cfb622cf253c58fed2f6a84 [diff] |
MEDIUM: connection: make sure all address producers allocate their address This commit places calls to sockaddr_alloc() at the places where an address is needed, and makes sure that the allocation is properly tested. This does not add too many error paths since connection allocations are already in the vicinity and share the same error paths. For the two cases where a clear_addr() was called, instead the address was not allocated.