0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/openvpn/dco
Lev Stipakov e1a35028a8 dco-win: fix reconnect with dco-win driver
DCO device is "exclusive" device, meaning that only one app at the time can access it
and device is considered opened until pending IO is complete.

start_impl_() might be called on reconnect, in the same stack with closing device handle.
Closing handle also triggers completion of pending IO, such as async read. However this happens
in the next iteration of ASIO even loop. Therefore we defer opening DCO device
(i.e. calling start_impl_) to let ASIO complete pending IO.

Note that this is not required when async resolve is performed, since this implies deferring.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2022-07-01 14:45:31 +03:00
..
dcocli.hpp dco-win: support for ChaCha20-Poly1305 2022-05-04 18:15:07 +03:00
ipcollbase.hpp Update copyrights 2020-03-18 19:37:32 +01:00
key.hpp ovpn-dco: remove cbc-hmac crypto 2020-11-16 01:24:02 +01:00
kocrypto.hpp dco-win: support for ChaCha20-Poly1305 2022-05-04 18:15:07 +03:00
korekey.hpp kovpn: move away kovpn code 2020-10-14 14:16:19 +03:00
ovpn-dco.h dco-win: support for 0.7.1 driver version 2022-04-27 13:31:10 +03:00
ovpndcocli.hpp Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags 2021-11-24 13:18:35 -07:00
ovpndcokocrypto.hpp ovpn-dco: add support for configuring ChaCha20Poly1305 as data channel cipher 2020-11-17 15:49:36 +01:00
ovpndcowincli.hpp dco-win: fix reconnect with dco-win driver 2022-07-01 14:45:31 +03:00