commit | 157788c7b194eda5d0c825f4704081ed2e7efbd9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Feb 11 10:08:05 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Feb 11 10:26:39 2020 +0100 |
tree | 416664d4c4a82fe8f6e3c39e44aa8931796b998e | |
parent | 4550e875d70e32b9fde0ae095a9b2b268e93bf81 [diff] |
BUG/MINOR: connection: correctly retry I/O on signals Issue #490 reports that there are a few bogus constructs of the famous "do { if (cond) continue; } while (0)" in the connection code, that are used to retry on I/O failures caused by receipt of a signal. Let's turn them into the more correct "while (1) { if (cond) continue; break }" instead. This may or may not be backported, it shouldn't have any visible effect.