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

   
   ## Summary
   When do poll operation and the tcp connection state is TCP_ALLOCATED, 
eventset(POLLERR|POLLHUP) is return, causing the libuv poll_multiple_handles to 
fail. So we add the condition of TCP_ALLOCATED on calculating the 
`nonblock_conn`.
   ## Impact
   If a tcp connection is in the TCP_ALLOCATED state and nonblocking, we can do 
poll operation on it.
   ## Testing
   Use the libuv test case ` uv_run_tests poll_multiple_handles`.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to