]> 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 20:59:10 +0000 (21:59 +0100)
commitea66a2b5cdb21422139c421b4d3733e1c1c3937e
tree24456d09490ea80c2bf964257555ed7a216e7803
parent444a93eab38d117d4f802e95a318d71ea886bcc6
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>
src/openvpn/forward.c