You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/11/04 09:27:02 UTC

[GitHub] [incubator-nuttx] fjpanag opened a new issue, #7522: SO_LINGER 0 does not drop the connection.

fjpanag opened a new issue, #7522:
URL: https://github.com/apache/incubator-nuttx/issues/7522

   When the option `SO_LINGER` is used with a timeout of 0, `close()` shall drop the TCP connection  immediately.
   
   A TCP `RST` shall be sent, and all pending data shall be discarded.
   
   This is not happening now: 
   * TCP `RST` is not sent, rather the normal `FIN` disconnect procedure is followed.  
   * The code **blocks indefinitely within `close()`**.


-- 
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: commits-unsubscribe@nuttx.apache.org.apache.org

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


[GitHub] [nuttx] xiaoxiang781216 commented on issue #7522: SO_LINGER 0 does not drop the connection.

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on issue #7522:
URL: https://github.com/apache/nuttx/issues/7522#issuecomment-1340373490

   @anchao should we correct SO_LINGER?


-- 
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: commits-unsubscribe@nuttx.apache.org

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


[GitHub] [nuttx] anchao commented on issue #7522: SO_LINGER 0 does not drop the connection.

Posted by GitBox <gi...@apache.org>.
anchao commented on issue #7522:
URL: https://github.com/apache/nuttx/issues/7522#issuecomment-1383476563

   > @anchao should we correct SO_LINGER?
   
   Yes, Please review https://github.com/apache/nuttx/pull/8129 @xiaoxiang781216 @fjpanag 


-- 
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: commits-unsubscribe@nuttx.apache.org

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


[GitHub] [nuttx] xiaoxiang781216 closed issue #7522: SO_LINGER 0 does not drop the connection.

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 closed issue #7522: SO_LINGER 0 does not drop the connection.
URL: https://github.com/apache/nuttx/issues/7522


-- 
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: commits-unsubscribe@nuttx.apache.org

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