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/10/11 03:12:39 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #7278: Blocking psock_tcp_recvfrom waits for all requested data.

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

   @fjpanag the change may block the recv indefinitely when caller use INFINITE timeout. The internet has many discussion about this special behavior, here is example:
   https://stackoverflow.com/questions/2295737/case-when-blocking-recv-returns-less-than-requested-bytes
   Does the server write from scratch?


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