lwip-devel
[Top][All Lists]
Advanced

[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: Joel Cunningham
Subject: [lwip-devel] [bug #36167] tcp server crash when client closes (maximum window)
Date: Tue, 31 Oct 2017 00:32:10 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38

Follow-up Comment #15, bug #36167 (project lwip):

> I guess I'll need some time to check this again...

I studied the code some and it looks like doing a shutdown(fd, SHUT_RW) and
then a recv(fd, ...); will expose this issue if TCP_WND is 0xFFFF.

I wrote a unit test to exercise this and it didn't encounter any asserts when
TCP_WND is at the 10*TCP_MSS value...but I can't get the unit tests to work
with TCP_WND set to 0xFFFF :(


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36167>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]