Sarthak-Pandey commented on PR #20702: URL: https://github.com/apache/nuttx/pull/20702#issuecomment-6629275961
Thank you @casaroli for catching this and for the clear explanation and test case. Updated and pushed: 1. Reverted the `FIONREAD` check to `if (flags & MSG_DONTWAIT)` as in master to avoid returning `-EAGAIN` on EOF for `O_NONBLOCK` sockets. 2. Removed redundant `cur_flags` logic and passed `flags` directly to `psock_fifo_read()`. -- 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]
