anchao opened a new pull request #1589:
URL: https://github.com/apache/incubator-nuttx/pull/1589


   ## Summary
   
   net/tcp: fix tcp socket close timeout if loss wireless connection 
   
   In the current net stack implementation, there is no mechanism
   for notifying the loss of the wireless connection, if the network
   is disconnected then application sends data packets through tcp,
   the tcp_timer will keep retrying fetch the ack for awhile, the
   connection status will not be able to be switched timely.
   
   Change-Id: I84d1121527edafc6ee6ad56ba164838694e7e11c
   Signed-off-by: chao.an <anc...@xiaomi.com>
   
   ## Impact
   
   tcp_send / tcp_close
   
   ## Testing
   
   carrier off the wireless connection and close the tcp handler
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to