Hi Gert, Thanks for that. Perhaps same approach can be applied to server's tcp listening, would require testing of more management cases.
-- Best Regards, Vladislav Grishenko > -----Original Message----- > From: Gert Doering <g...@greenie.muc.de> > Sent: Sunday, October 4, 2020 5:19 PM > To: Vladislav Grishenko <themi...@yandex-team.ru> > Cc: openvpn-devel@lists.sourceforge.net > Subject: [PATCH applied] Re: Speedup TCP remote hosts connections > > Your patch has been applied to the master branch. > > I have run a number of TCP client connect tests, to a very close server (speedup > very noticeable!), to distant server (still some difference), and to a non- > reachable IP address (because I was worried that this would block out > management, but it doesn't - it just shifts the "delay 1 s" to openvpn_connect(), > and makes it a "max 1s" instead of a hard sleep). > > I have not looked into manage.c as closely, but from a quick glance, this also > looks reasonable. > > Since we need a RC3 anyway (due to the redirect-gateway bug), and Arne's > motto for 2.5 is "MAKE THINGS FAST!", I think this still fits into 2.5. > > commit b68aa00603332357e6c711e91c5b4ba04d78294b (master) commit > d08b66f39cf80733a51e1607386dc4993faef09f (release/2.5) > Author: Vladislav Grishenko > Date: Fri Oct 2 03:53:19 2020 +0500 > > Speedup TCP remote hosts connections > > Signed-off-by: Vladislav Grishenko <themi...@yandex-team.ru> > Acked-by: Arne Schwabe <a...@rfc2549.org> > Message-Id: <20201001225319.25125-1-themi...@yandex-team.ru> > URL: https://www.mail-archive.com/openvpn- > de...@lists.sourceforge.net/msg21139.html > Signed-off-by: Gert Doering <g...@greenie.muc.de> > > > -- > kind regards, > > Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel