Re: [Openvpn-devel] [PATCH v3] Speedup TCP remote hosts connections

2020-10-02 Thread Arne Schwabe
Am 02.10.20 um 00:53 schrieb Vladislav Grishenko: > For non-blocking TCP/Unix connection, OpenVPN checks was it established in > loop and if not - sleeps or handles management for next one second. Since > the first check is made right after the connection attempt, it will likely > be always unsucce

[Openvpn-devel] [PATCH v3] Speedup TCP remote hosts connections

2020-10-01 Thread Vladislav Grishenko
For non-blocking TCP/Unix connection, OpenVPN checks was it established in loop and if not - sleeps or handles management for next one second. Since the first check is made right after the connection attempt, it will likely be always unsuccessful, causing redundant wait for one or more seconds: