]> git.ipfire.org Git - thirdparty/openvpn.git/commit
client-connect: Implement deferred connect support for plugin API v2
authorArne Schwabe <arne@rfc2549.org>
Sun, 19 Jul 2020 17:34:36 +0000 (19:34 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 20 Jul 2020 10:14:39 +0000 (12:14 +0200)
commitaad16b6c48735c5449d9b3bd0689bfc0a0a9fff6
tree15a3383197dd023fccae02ed5156ebec08bfcd91
parent3658e57797656e63e35be65397101a7191897272
client-connect: Implement deferred connect support for plugin API v2

The V2 API is simpler than the V1 API since there is no passing of
data via files. This also means that with the current API the V2 API
cannot support async notify via files. Adding a file just for async
notify seems very hacky and when needed we should implement a better
option when async is needed for the plugin V2 API.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200719173436.16431-5-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20480.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
include/openvpn-plugin.h.in
src/openvpn/multi.c
src/openvpn/plugin.c