You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "wangchen61698 (via GitHub)" <gi...@apache.org> on 2023/06/21 01:56:49 UTC
[GitHub] [nuttx] wangchen61698 opened a new pull request, #9581: usrsock_server:fix incomplete received data error
wangchen61698 opened a new pull request, #9581:
URL: https://github.com/apache/nuttx/pull/9581
## Summary
usrsock received wrong message to stop receiving the data, however there is remaining data that has not been retrieved.
when usrsock receiving data , it checks number of bytes available for reading.
if the number is more than zero, setting USRSOCK_EVENT_RECVFROM_AVAIL flag into the event
## Impact
usrsock
## Testing
**Before modification**
![image](https://github.com/apache/nuttx/assets/129070278/1d5c4dc0-ab4d-459d-ab8b-44780fa86f55)
![image](https://github.com/apache/nuttx/assets/129070278/b757a25f-f1f2-49ce-b990-8e5e21f45ad1)
**After modification**
![image](https://github.com/apache/nuttx/assets/129070278/8dd04e5f-571a-487a-9920-4e87e2af9596)
![image](https://github.com/apache/nuttx/assets/129070278/52456fc1-13c5-4835-84cb-c0465e7e02fa)
--
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] pkarashchenko merged pull request #9581: usrsock_server:fix incomplete received data error
Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko merged PR #9581:
URL: https://github.com/apache/nuttx/pull/9581
--
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