[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #36167] tcp server crash when client closes (maximum w
From: |
Joan Lledó |
Subject: |
[lwip-devel] [bug #36167] tcp server crash when client closes (maximum window) |
Date: |
Mon, 30 Oct 2017 04:41:18 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #11, bug #36167 (project lwip):
Yes, the stack is aborted by that LWIP_ASSERT. I'm running this[1] Perl test
over lwip with the sockets API and it makes the stack crash at line #118.
AIUI, the client calls close() and waits for the server to do it. When the
client receives the server's FIN, switches to TIME-WAIT. It also happens the
window is full at that moment. The netconn api calls tcp_recved() for the FIN
byte, which overflows the window.
---------------
[1] https://github.com/Perl/perl5/blob/blead/t/io/socket.t
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36167>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/