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


From: christian
Subject: [lwip-devel] [bug #36167] tcp server crash when client closes
Date: Thu, 21 Jun 2012 10:11:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Iceweasel/6.0.2

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

Thanks to all for contributing to this discussion. 

It is already a long time ago that we made some decissions on how to solve
this problem for our context, and we would like to share it with the
community.

For our application we needed to support jumbo frames and much larger windows,
making lwip support window scaling. We are using 32bit variables in some pcb
fields to support large windows.

We still do not know why the maximum window size is not supported, but the
correct assert in our case should be:

LWIP_ASSERT("tcp_recved: len would wrap rcv_wndn", len <= 0xffffffff -
pcb->rcv_wnd );

and we do not use windows the size of 0xffffffff.

If anybody is interested in our lwip patch to support scaling window option,
please feel free to contact me.

Thanks to everybody.


    _______________________________________________________

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]