wangchen61698 commented on PR #17590:
URL: https://github.com/apache/nuttx/pull/17590#issuecomment-3689314012

   > @wangchen61698 please provide a valid test showing how to reproduce the 
issue before the fix and showing that after the fix the issue disappeared
   We encountered a problem
   **Cause of the problem**: The server side has not been started yet, while 
the client side has already been started. The client sends information to the 
server side and receives a reset packet. The tcpstateflags is set to the close 
state. The next time the application uses this connection to connect, it will 
report a message that the connection is already connected, but in fact, the 
connection has not been successfully established because the tcpstateflags is 
in the close state
   <img width="885" height="887" alt="image" 
src="https://github.com/user-attachments/assets/4f1f24d0-d93e-4db2-ac7f-9e8794b1c4df";
 />
   <img width="793" height="382" alt="image" 
src="https://github.com/user-attachments/assets/0e0b806f-f752-4c3c-802f-9947ca9258f0";
 />
   
   **Problem-solving approach**: Modify the judgment condition so that when the 
connection already exists and is in a closed state, a new connection can be 
established
   
   For test cases, please refer to the Test entries,please review again 
@acassis 
   
   
   
   
   
   
   
   
   
   
   


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