]> git.ipfire.org Git - thirdparty/openvpn.git/commit
reliable: retransmit if 3 follow-up ACKs are received
authorSteffan Karger <steffan.karger@fox-it.com>
Wed, 31 Mar 2021 18:03:23 +0000 (20:03 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 2 Apr 2021 17:57:35 +0000 (19:57 +0200)
commit203afbe95ee324ec941e35399f6655dc4f669f12
treee3e246e25f591f7462ec28c6479e8e6b6aee414f
parent343b61195b76796632b8948674fd1068889bb6c7
reliable: retransmit if 3 follow-up ACKs are received

To improve the control channel performance under packet loss conditions,
add a more aggressive retransmit policy similar to what many TCP
implementations do: retransmit a packet if the ACK timeout expires (like
we already do), *or* if three ACKs for follow-up packets are received.

The rationale behind this is that if follow-up packets *are* received, the
connection is apparently functional and we should be able to retransmit
immediately. This significantly improves performance for connections with
low (up to a few percent) packet loss.
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <E1lRfW3-0001sy-VM@sfs-ml-4.v29.lw.sourceforge.com>
URL: https://www.mail-archive.com/search?l=mid&q=E1lRfW3-0001sy-VM@sfs-ml-4.v29.lw.sourceforge.com

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/reliable.c
src/openvpn/reliable.h