[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #34176] select after non-blocking send times out
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #34176] select after non-blocking send times out |
Date: |
Wed, 19 Oct 2011 11:07:26 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 |
Follow-up Comment #7, bug #34176 (project lwip):
Right. What's missing is limiting it to "TCP_SND_BUF - 1". However, that's
only a problem for the default value of TCP_SND_BUF (2 * TCP_MSS). And I think
we should change that default value to "4 * TCP_MSS" as with 2 * mss and a
remote host implementing delayed ACKs, you break down from a sliding window
into a ping-pong (send 2 segments, wait for ACK). It doesn't break things, but
it slows down transmission.
Anyway, I've added a MIN(old-value, TCP_SND_BUF - 1), which should fix
things.
Thanks for checking this.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34176>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/