Old-Ding opened a new pull request, #19330:
URL: https://github.com/apache/nuttx/pull/19330

   ## Summary
   - advance DNS stream send buffers by the actual send() return count
   - advance DNS stream receive buffers by the actual recv() return count
   
   ## Rationale
   send() and recv() may complete partially on stream sockets. Advancing by the 
original remaining length skips bytes after a short transfer, which can corrupt 
DNS-over-stream payload handling.
   
   ## Testing
   - git diff --check HEAD~1..HEAD
   - git show --stat --check --format=fuller HEAD
   - git ls-files --eol -- libs\libc\netdb\lib_dnsquery.c


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