commit | 9dbb6c43ce655e018da2c7f78a6cfb7f42d95c1c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 28 19:20:23 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 28 19:26:39 2020 +0200 |
tree | 5791fcb3afe3c116ec84d5cd4b17f80d257a0940 | |
parent | a2c17877b33aa85d49b41d555736a75cdf025a72 [diff] |
MINOR: sock: distinguish dgram from stream types when retrieving old sockets For now we still don't retrieve dgram sockets, but the code must be able to distinguish them before we switch to receivers. This adds a new flag to the xfer_sock_list indicating that a socket is of type SOCK_DGRAM. The way to set the flag for now is by looking at the dummy address family which equals AF_CUST_UDP{4,6} in this case (given that other dgram sockets are not yet supported).