yamt commented on PR #15069:
URL: https://github.com/apache/nuttx/pull/15069#issuecomment-2530804305

   > > > When dns uses tcp for transmission, it is easy to exceed 
RECV_BUFFER_SIZE, causing resolution failure. Therefore a macro was added to 
limit whether this feature is enabled or not.
   > > 
   > > 
   > > well, tcp is used only when the response is truncated in the first 
place. thus, disabling tcp does not solve resolution failure problems you are 
seeing at all. am i missing something?
   > 
   > Actually, when tcp is turned off, the truncate reply can be resolve 
normally. [tcp 
closed.log](https://github.com/user-attachments/files/18070638/tcp.closed.log) 
![tcp 
closed](https://private-user-images.githubusercontent.com/177493720/394081617-b4eb5a80-fbcd-4e33-bd8b-a03d382db9e7.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzM4MTk2OTMsIm5iZiI6MTczMzgxOTM5MywicGF0aCI6Ii8xNzc0OTM3MjAvMzk0MDgxNjE3LWI0ZWI1YTgwLWZiY2QtNGUzMy1iZDhiLWEwM2QzODJkYjllNy5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIxMFQwODI5NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01OTlmZGY4N2MxMWMwNDQxNGM2MDAyZjI3NTdmNmY3NWY3Y2U2ZGVkMDFjYTIyYmU4Mjk5YzJlZTgwYzQ1NDYzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.AAFFbZ9RZaMp7B6OqQmwcbGfEYMoOwFBSNRtQ5wjNKk)
   
   ok.
   if you are lucky, the truncated response might happen to contain enough info.
   i consider it a bug to rely on that though.
   cf. https://www.rfc-editor.org/rfc/rfc2181#section-9
   


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