[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #25882] TCP hangs on MSS > pcb->snd_wnd
From: |
Jakob Stoklund Olesen |
Subject: |
[lwip-devel] [bug #25882] TCP hangs on MSS > pcb->snd_wnd |
Date: |
Tue, 17 Mar 2009 18:38:15 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16 |
Follow-up Comment #3, bug #25882 (project lwip):
Interesting. The server negotiates a 1360-byte MSS, but never announces more
than 256 bytes of window. I think you are right that lwIP cannot handle this.
There are two problems with your proposed solution:
* It affects normal connections. When the window closes, tcp_enqueue could
create lots of small segments. It would be better to create normal MSS-sized
segments and wait for the window to open.
* It doesn't actually work if the server initially announces a large window,
and then changes to a window < MSS. You could create a segment that gets
stuck, even with your fix.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?25882>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/