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: Simon Goldschmidt
Subject: [lwip-devel] [bug #36167] tcp server crash when client closes (maximum window)
Date: Mon, 13 Aug 2012 20:21:12 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20100101 Firefox/14.0.1

Update of bug #36167 (project lwip):

                  Status:               Confirmed => In Progress            
             Assigned to:                    None => goldsimon              

    _______________________________________________________

Follow-up Comment #7:

Sorry for taking so long, but it seems that most of your solutions are
correct:
- on the one hand, the stack should be OK with an application not calling
tcp_recved() for the FIN,
- on the other hand, calling tcp_recved() for the FIN should not break the
stack

Given that, I think we should just check for the FIN byte when calling
tcp_recved() - changing the assert from '0xffff' to '0xffffffff' is not the
correct solution as it doesn't allow normal TCP connections (without window
scaling) to use the window size 0xffff.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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