]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Ignore SIGUSR1/SIGHUP during exit notification
authorSelva Nair <selva.nair@gmail.com>
Tue, 7 Jun 2016 04:44:20 +0000 (00:44 -0400)
committerGert Doering <gert@greenie.muc.de>
Tue, 7 Jun 2016 20:54:38 +0000 (22:54 +0200)
commit63b3e000c9141f4ca03a374354da26334257bc18
tree8bbb323b759bd362ed28b665a86a424f5a9d06c7
parent7f74c27e105a365d278181d00708c55a299398a0
Ignore SIGUSR1/SIGHUP during exit notification

This allows exit notification to complete and finally trigger SIGTERM.
The current practice of allowing a restart in this state clears
the exit notification timer data and thus loses the SIGTERM.

Trac #687

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1465274660-11009-2-git-send-email-selva.nair@gmail.com>
URL: http://article.gmane.org/gmane.network.openvpn.devel/11814
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/sig.c