On Tue, Apr 23, 2019 at 7:30 PM Arne Schwabe <a...@rfc2549.org> wrote:
> I agree that I missed a place in which I should cleaning up the temp > file but adding it to close_instance seem more like a workaround than a > real solution. Again describing more context would be nice here. What > exactly is this trying to fix and why in this way. > Not only deferred ret file, but also config file. Here is just a description of the need to clean up. I haven't thought of a specific fix, because I am not very familiar with the openvpn code. When the client connects to openvpn, and client-connect has not returned. After a while, the same client reconnects to openvpn. At this time, the previous openvpn connection(dup connection) will be closed and multi_instance was deleted, and also the client-connect-script has not yet written back to deferred-ret-file. In this case, the file created by client-connect-deferred is leaked. -- Regards, Wang Wei _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel