mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-14 10:21:12 +00:00
This commit changes ssthresh to be the largest effective congestion window (amount of in-flight data). This follows the guidance of RFC 5681 which recommends setting ssthresh arbitrarily high. LwIP was previously using the receive window value at the end of the 3-way handshake and in the case of an active open where the receiver used window scaling and/or window auto-tuning, this resulted in a very small ssthresh value even though the window ramped up once the connection was established