You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/01 02:22:56 UTC
[GitHub] [incubator-nuttx] masayuki2009 commented on a diff in pull request #6972: net/usrsock: read from the closed remote should return EOF
masayuki2009 commented on code in PR #6972:
URL: https://github.com/apache/incubator-nuttx/pull/6972#discussion_r960163175
##########
net/usrsock/usrsock_recvmsg.c:
##########
@@ -442,6 +442,12 @@ ssize_t usrsock_recvmsg(FAR struct socket *psock, FAR struct msghdr *msg,
*fromlen = outaddrlen;
}
+ if (conn->flags & USRSOCK_EVENT_REMOTE_CLOSED &&
Review Comment:
@xiaoxiang781216 @anchao
Should we revert this PR and fix it again?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org