From: Mikko Rasa Date: Sun, 11 Dec 2022 10:17:12 +0000 (+0200) Subject: Check for EOF return before checking for errors X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=63432878fc84bc666bb74efaeee588fa6d03d5b2;hp=63432878fc84bc666bb74efaeee588fa6d03d5b2;p=libs%2Fnet.git Check for EOF return before checking for errors The check_sys_error function converts errors from non-blocking operations which would block into a zero return, making them indistinguishable from a zero return due to the other end closing the connection. ---