Revert "net/usrsock: read from the closed remote should return EOF"

This reverts commit 3a653c1d5e.
This commit is contained in:
Masayuki Ishikawa 2022-09-01 11:29:16 +09:00
parent b15d38246c
commit aaae317d0c

View File

@ -442,12 +442,6 @@ errout_unlock:
*fromlen = outaddrlen;
}
if (conn->flags & USRSOCK_EVENT_REMOTE_CLOSED &&
ret == -ENOTCONN)
{
ret = OK;
}
return ret;
}