mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:17:13 +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;
|
*fromlen = outaddrlen;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conn->flags & USRSOCK_EVENT_REMOTE_CLOSED &&
|
|
||||||
ret == -ENOTCONN)
|
|
||||||
{
|
|
||||||
ret = OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user