summaryrefslogtreecommitdiff
path: root/src/lib/cdap_req.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2022-04-03 12:01:20 +0200
committerSander Vrijders <sander@ouroboros.rocks>2022-04-03 18:01:02 +0200
commit783d3adfdb0a074ae7a6e0dd37fe8efaf7e2b39a (patch)
tree6a57ba7ac8bcb16e1c690b9e0db0613aa4a5d834 /src/lib/cdap_req.c
parent8f6985bb6dc919408f57ac4cafa8e7a04f917f5d (diff)
downloadouroboros-783d3adfdb0a074ae7a6e0dd37fe8efaf7e2b39a.tar.gz
ouroboros-783d3adfdb0a074ae7a6e0dd37fe8efaf7e2b39a.zip
lib: Fix RTO update on timeout
This fixes the RTO doubling on timeout according to Karn/Partridge. Exponentially increasing RTO when it times out (e.g. doubling) fixes the problem that a sudden increase in real RTT starves the sRTT updates by never getting out of backoff as retransmitted packets can't update RTT. Added an parameter to make it less aggressive, default is doubling. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/cdap_req.c')
0 files changed, 0 insertions, 0 deletions