commit | a5b325f92c909f9976fcae2b2890eccde244dd40 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Sep 04 16:44:20 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 16 22:08:07 2020 +0200 |
tree | 7887e1460254cfe23e3ef5401e4f9a47d0604a55 | |
parent | 1e984b73f0b6390bf8ac35dae6dc33098bceea21 [diff] |
MINOR: protocol: add a real family for existing FDs At some places (log fd@XXX, bind fd@XXX) we support using an explicit file descriptor number, that is placed into the sockaddr for later use. The problem is that till now it was done with an AF_UNSPEC family, which is also used for other situations like missing info or rings (for logs). Let's create an "official" family AF_CUST_EXISTING_FD for this case so that we are certain the FD can be found in the address when it is set.