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


   ## Summary  
   Fixes an issue where tcp sockets with activated keepalives stalled and were 
not properly closed. Poll would not indicate a POLLHUP and therefore locks down 
the application.
   
   ## Impact
   1. Keepalives will continue and not stop after one
   2. Keepalives will eventually terminate the connection successfully and fire 
a POLLHUP to application
   
   ## Testing
   Set-up a tcp connection, pull cable and monitor on device side packets 
(tcpdump/wireshark). Once keepalive count is reached a fin/close and later 
rst/close should be seen. Application shuold now also receive the POLLHUP.
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to