]> git.meshlink.io Git - utcp/commit
Avoid sending packets smaller than the MTU if we don't need to.
authorGuus Sliepen <guus@sliepen.org>
Sun, 8 Mar 2020 21:12:41 +0000 (22:12 +0100)
committerGuus Sliepen <guus@sliepen.org>
Sun, 8 Mar 2020 22:49:22 +0000 (23:49 +0100)
commit8b12570493ab77960aeac7e3e4a9bc458bb4f1a1
tree03b70f3a32e56077587d36869a67866411e125b9
parent79473544a4e53159f178e8542f0936f8abd42821
Avoid sending packets smaller than the MTU if we don't need to.

If we have almost filled the congestion window but have more data in the
send buffer than we can send right now, wait until the congestion window
frees up to avoid sending small packets unnecessarily.
utcp.c