You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2023/01/29 03:36:35 UTC

[GitHub] [nuttx] anchao opened a new pull request, #8332: Revert "socket:return -EAGAIN if timeout happends in psock_tcp_send"

anchao opened a new pull request, #8332:
URL: https://github.com/apache/nuttx/pull/8332

   
   ## Summary
   
   Revert "socket:return -EAGAIN if timeout happends in psock_tcp_send"
   
   This reverts commit fbe641a9164ee04919f172a712f3845e47263d7d.
   
   This issue already fixed by below change:
   
   ```
   | commit 715785245c461eb696c181b0e6d09b400f20d0c0
   | Author: chao an <an...@xiaomi.com>
   | Date:   Mon Jan 16 12:37:44 2023 +0800
   |
   |     net/tcp: fix potential busy loop in tcp_send_buffered.c
   |
   |     if the wrbuffer does not have enough space to send the rest of
   |     the data, then the send function will loop infinitely in nonblock
   |     mode, add send timeout check to avoid this issue.
   |
   |     Signed-off-by: chao an <an...@xiaomi.com>
   ```
   
   Signed-off-by: chao an <an...@xiaomi.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   iperf tcp client test


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


[GitHub] [nuttx] xiaoxiang781216 merged pull request #8332: Revert "socket:return -EAGAIN if timeout happends in psock_tcp_send"

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #8332:
URL: https://github.com/apache/nuttx/pull/8332


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