]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix termination when windows suspends/sleeps
authorSelva Nair <selva.nair@gmail.com>
Wed, 4 Nov 2015 18:59:38 +0000 (13:59 -0500)
committerGert Doering <gert@greenie.muc.de>
Fri, 6 Nov 2015 21:02:01 +0000 (22:02 +0100)
commit0d4ba251879c702b9474e26ff73a4f559d922d4f
treedf7cac8a9838a143a09c96ee9fe4e507d76b4a60
parentb155655a218686317c5d48ccbaaa6e8696820b88
Fix termination when windows suspends/sleeps

When TUN/TAP I/O operation is aborted, restart with a SIGHUP instead of
terminate. The abort error from TAP is often triggered by system suspend
which is fully recoverable on resume. Catastrophic events will get caught
later during the restart.  This solves the abnormal termination during
suspend/resume.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1446663578-14471-1-git-send-email-selva.nair@gmail.com>
URL: http://article.gmane.org/gmane.network.openvpn.devel/10438
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit ea66a2b5cdb21422139c421b4d3733e1c1c3937e)
src/openvpn/forward.c