mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-19 19:52:15 +02:00
e1a35028a8
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> |
||
---|---|---|
.. | ||
dcocli.hpp | ||
ipcollbase.hpp | ||
key.hpp | ||
kocrypto.hpp | ||
korekey.hpp | ||
ovpn-dco.h | ||
ovpndcocli.hpp | ||
ovpndcokocrypto.hpp | ||
ovpndcowincli.hpp |