commit | 1ed3781e2130a0a7c7d4b35e58990a6d30d5f538 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Feb 26 16:12:45 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 28 07:42:29 2020 +0100 |
tree | 52dae32a087e2bbf406aa1ad01ef345fe15eab9f | |
parent | a135ea63a6ac8a21facc2fe69817d40e1c0bbb83 [diff] |
MINOR: fd: merge the read and write error bits into RW error We always set them both, which makes sense since errors at the FD level indicate a terminal condition for the socket that cannot be recovered. Usually this is detected via a write error, but sometimes such an error may asynchronously be reported on the read side. Let's simplify this using only the write bit and calling it RW since it's used like this everywhere, and leave the R bit spare for future use.