commit | 603ba41179e4b53951c7b90ee95b6ef3faa3f15d | [log] [download] |
---|---|---|
author | naddy@openbsd.org <naddy@openbsd.org> | Fri Feb 05 13:28:19 2016 +0000 |
committer | Damien Miller <djm@mindrot.org> | Mon Feb 08 21:58:31 2016 +1100 |
tree | 0930d731703295df9cdea1b30c5e1ff75473aa2f | |
parent | 56d7dac790693ce420d225119283bc355cff9185 [diff] |
upstream commit Only check errno if read() has returned an error. EOF is not an error. This fixes a problem where the mux master would sporadically fail to notice that the client had exited. ok mikeb@ djm@ Upstream-ID: 3c2dadc21fac6ef64665688aac8a75fffd57ae53