[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] Updated default TCP_WND_UPDATE_THRESHOLD
From: |
Joel Cunningham |
Subject: |
[lwip-devel] Updated default TCP_WND_UPDATE_THRESHOLD |
Date: |
Thu, 01 Dec 2016 23:33:58 +0000 (GMT) |
I am going through changes in 2.0.0 to apply to my port and I had one question about the change to the default value of TCP_WND_UPDATE_THRESHOLD:
The fix for bug #45559 makes the following change (commit 06d8dba4a0f04161f9899010982d297cf1b82c54) :
-#define TCP_WND_UPDATE_THRESHOLD (TCP_WND / 4)
+#define TCP_WND_UPDATE_THRESHOLD LWIP_MIN((TCP_WND / 4), (TCP_MSS * 4))
The bug appears to be about handling problems with window scaling and didn't seem to include any information on why TCP_WND_UPDATE_THRESHOLD was changed. Was TCP_WND / 4 determined to perform too poorly?
Thanks,
Joel
- [lwip-devel] Updated default TCP_WND_UPDATE_THRESHOLD,
Joel Cunningham <=