Revert "net/usrsock: read from the closed remote should return EOF"
This reverts commit 3a653c1d5e
.
This commit is contained in:
parent
b15d38246c
commit
aaae317d0c
@ -442,12 +442,6 @@ errout_unlock:
|
||||
*fromlen = outaddrlen;
|
||||
}
|
||||
|
||||
if (conn->flags & USRSOCK_EVENT_REMOTE_CLOSED &&
|
||||
ret == -ENOTCONN)
|
||||
{
|
||||
ret = OK;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user