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/04/11 13:03:03 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6031: usrsock: Don't clear recvfrom available flag

xiaoxiang781216 commented on PR #6031:
URL: https://github.com/apache/incubator-nuttx/pull/6031#issuecomment-1095023143

   We found that if the remote close the socket first, USRSOCK_EVENT_REMOTE_CLOSED may report prematurely before the client can read rest data from socket. This patch try to report USRSOCK_EVENT_RECVFROM_AVAIL(in events field) through ack/data_ack response at the same time:
   https://github.com/apache/incubator-nuttx-apps/pull/1132/files#diff-cbd959feb557cd53ec9bb9130d741941d8d0af2cc713e0c39573a180175fe0d2R511-R520
   Does gs2200m hit the similar issue before?


-- 
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