mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
Revert "net/usrsock: read from the closed remote should return EOF"
This reverts commit 3a653c1d5e.
This commit is contained in:
@@ -442,12 +442,6 @@ errout_unlock:
|
||||
*fromlen = outaddrlen;
|
||||
}
|
||||
|
||||
if (conn->flags & USRSOCK_EVENT_REMOTE_CLOSED &&
|
||||
ret == -ENOTCONN)
|
||||
{
|
||||
ret = OK;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user