]> 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 21:01:18 +0000 (23:01 +0200)
commit859c9f412455665635964519f3e44a0b4151a787
treec7d8b69ca53ba1f6470ca83e0d8ea6c749a1540e
parentb76acd72cd8ea295b925e058336440ff819ca8f4
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>
(cherry picked from commit 63b3e000c9141f4ca03a374354da26334257bc18)
src/openvpn/sig.c