And of course I forgot non-dco dummy implementation (which we don't call yet, because on Windows dco is always defined)
https://github.com/lstipakov/openvpn/commit/f223bef8449f15ff5de06acdfee16088b855c47a ke 27. huhtik. 2022 klo 16.18 Lev Stipakov (lstipa...@gmail.com) kirjoitti: > How about we'll add dco_check_timeout(int, context) to dco.h with platform > specific implementations? > > Here is what I just did for Windows (Linux part is no-nop): > https://github.com/lstipakov/openvpn/commit/ce242896c621273578a446c5194d5ca6aee04237 > > ke 27. huhtik. 2022 klo 15.32 Lev Stipakov (lstipa...@gmail.com) > kirjoitti: > >> Hi, >> >> @Lev, just a heads up: does dco-win deal with this case? It would be >>> good to have a look on your side too. >>> >> >> Good point - this functionality (dco keepalive timeout) works in openvpn3 >> but not in openvpn2. >> >> dco-win notifies userspace about keepalive timeout by returning certain >> error code (STATUS_CONNECTION_DISCONNECTED in kernel >> which translates to GetLastError 64 ERROR_NETNAME_DELETED, don't ask me >> why) in response to read request, so we should catch it >> inside read_incoming_link() after link_socket_read() call. Will do. >> >> -- >> -Lev >> > > > -- > -Lev > -- -Lev
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel