Re: [Openvpn-devel] openvpn with udp lost event.

2019-04-22 Thread wei wang
3. clean client connect defered ret file when close instance. diff --git a/src/openvpn/multi.c b/src/openvpn/multi.c index 27c6e935..7291d651 100644 --- a/src/openvpn/multi.c +++ b/src/openvpn/multi.c @@ -685,6 +685,9 @@ multi_close_instance(struct multi_context *m, set_cc_config(mi, NULL);

Re: [Openvpn-devel] openvpn with udp lost event.

2019-04-22 Thread wei wang
And I have another question about multi_process_io_udp lost event. Is there some problem if we change if{} else if{} to if {} if {}. e.g.: diff --git a/src/openvpn/mudp.c b/src/openvpn/mudp.c index a604d217..18dc009d 100644 --- a/src/openvpn/mudp.c +++ b/src/openvpn/mudp.c @@ -220,12 +220,12 @@ m

Re: [Openvpn-devel] openvpn with udp lost event.

2019-04-22 Thread wei wang
1. When client-connect tests whether the user has written the configuration, we should check to see if the file size is 0, not whether the file exists. Because the configuration file is created by openvpn itself. 2. multi_client_connect_early_setup should be called for the first time. diff --g