commit | 7cdeb61701729ef7b4d2ed97e590860478ad718d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Dec 10 08:37:04 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 10 10:43:31 2019 +0100 |
tree | 124653f380bb25fd67871042c7fc65bc8186ef70 | |
parent | 67878d7bdcb88683bdbf6fba851901a31f348eb8 [diff] |
BUG/MINOR: listener/threads: always use atomic ops to clear the FD events There was a leftover of the single-threaded era when removing the FD_POLL_HUP flag from the listeners. By not using an atomic operation to clear the flag, another thread acting on the same listener might have lost some events, though this would have resulted in that thread to reprocess them immediately on the next loop pass. This should be backported as far as 1.8.