commit | 1714e0ffda337ccb0f02cba0f3cf8119675c8ddd | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Mar 28 20:54:53 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Mar 28 23:42:30 2009 +0100 |
tree | 49ce4a4bf567e008381f132fe537df0f80ebe049 | |
parent | 1eead503da2617be8338ac2ff8e32a295991d369 [diff] |
[BUG] stream_sock: disable I/O on fds reporting an error Upon read or write error, we cannot immediately close the FD because we want to first report the error to the upper layer which will do it itself. However, we want to prevent any further I/O from being performed on the FD. This is especially important in case of speculative I/O where nothing else could stop the FD from still being polled until the upper layer takes care of the condition.