aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Congestion.h
Commit message (Collapse)AuthorAgeFilesLines
* Limit lossless refresh update to safe sizePierre Ossman2018-03-281-1/+7
| | | | | | We don't want to waste bandwidth on the lossless refresh if we might need that bandwidth for a normal update. Try to estimate how much data we can safely send without interfering.
* Add crude congestion window debug tracePierre Ossman2017-11-171-0/+5
| | | | | Allows us to compare our computed congestion window with the underlying one used by the TCP layer.
* Add simple slow start to congestion controlPierre Ossman2017-11-171-0/+1
|
* Improved congestion control handlingPierre Ossman2017-11-171-18/+39
| | | | | | Refine the previous method by interpolating the values we need. This reduces the effect of the problem that we cannot send enough ping packets.
* Move congestion control to its own classPierre Ossman2017-11-171-0/+62
It's a general function and it's better to have that particular complexity in its own place.