]> git.meshlink.io Git - utcp/commit - utcp.c
Fix retransmission timeout calculation.
authorGuus Sliepen <guus@sliepen.org>
Mon, 14 Oct 2019 20:32:35 +0000 (22:32 +0200)
committerGuus Sliepen <guus@sliepen.org>
Mon, 14 Oct 2019 20:32:35 +0000 (22:32 +0200)
commiteb85ec4ae5f32102430e0622e3855aaba110c032
treeda005af75b64558847668f7c7a3b2b5160bcc596
parent25675cca79330f968b3fb106793a5265615f4df7
Fix retransmission timeout calculation.

The RTO calculation was missing a factor 4 multiplication of the
RTT variance, which caused it to set the RTO to a much lower value than
specified by RFC 6298. This would result in more retranmissions and a
lower throughput.
utcp.c