commit | 45c277945619a2a8ff2ac9957019b15d4f810c93 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Nov 25 16:05:46 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Nov 25 17:07:22 2022 +0100 |
tree | 4ff263c118459bb7befaac16adda2e63140b5e3c | |
parent | 2afa42599c4cde8411890add3cdf8fbdf92c00c4 [diff] |
DEV: tcploop: centralize the polling code into wait_for_fd() There are multiple call places for poll(), let's first centralize them to make it easier to enhance it. All callers now use the wait_for_fd() function which was extended to take a timeout and which can return the indication that an error was seen.