You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2022/09/01 02:29:23 UTC

[incubator-nuttx] branch revert-6972-22083105 created (now 117792cb0c)

This is an automated email from the ASF dual-hosted git repository.

masayuki pushed a change to branch revert-6972-22083105
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


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

This branch includes the following new commits:

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

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-nuttx] 01/01: Revert "net/usrsock: read from the closed remote should return EOF"

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

masayuki pushed a commit to branch revert-6972-22083105
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 117792cb0c24c949daf49e01377cd797bc1af04d
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Thu Sep 1 11:29:16 2022 +0900

    Revert "net/usrsock: read from the closed remote should return EOF"
    
    This reverts commit 3a653c1d5e7f498ac1a1cda135c68ab3451c43ee.
---
 net/usrsock/usrsock_recvmsg.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/net/usrsock/usrsock_recvmsg.c b/net/usrsock/usrsock_recvmsg.c
index 85e796a716..becc6b8f1f 100644
--- a/net/usrsock/usrsock_recvmsg.c
+++ b/net/usrsock/usrsock_recvmsg.c
@@ -442,12 +442,6 @@ errout_unlock:
       *fromlen = outaddrlen;
     }
 
-  if (conn->flags & USRSOCK_EVENT_REMOTE_CLOSED &&
-      ret == -ENOTCONN)
-    {
-      ret = OK;
-    }
-
   return ret;
 }