]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Ensure that client-connect files are always deleted
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 9 Oct 2014 21:40:49 +0000 (23:40 +0200)
committerDavid Sommerseth <davids@redhat.com>
Tue, 14 Oct 2014 16:01:47 +0000 (18:01 +0200)
commit7da9d40243e0743e2d050ceb6ae34e467dd58973
treef9b91d5db4fdd6e05ed4a4184e06a588b5040510
parented5a400e138812cd6572845f4299f61e12716f53
Ensure that client-connect files are always deleted

On a long-running, busy server using either a plug-in which hooks into
OPENVPN_PLUGIN_CLIENT_CONNECT or a configuration using --client-connect
a lot of unused files will be lingering and potentially filling up
the file system with temporary files if the plug-in or --client-connect
script fails.

This patch ensures that these files are always removed in the end,
regardless if the plug-in or script succeeds or fails.

Signed-off-by: David Sommerseth <davids@redhat.com>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 20141012195919.GU3738@type
URL: http://thread.gmane.org/gmane.network.openvpn.devel/9104/focus=9118
src/openvpn/multi.c