From 4e4c9052f436b86729b853715086e9445c76e185 Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Thu, 26 Mar 2015 06:30:50 +0000 Subject: Attempt to detect if the parent crashed without killing obfs4proxy. The ideal solution here would be to implement #15435, but till then use one of several kludges: * Linux - prctl() so that the kernel SIGTERMs on parent exit. * Other U*ix - Poll the parent process id once a second, and SIGTERM ourself/exit if it changes. Former is better since all the normal cleanup if any gets done. * Windows - Log a warning. --- ChangeLog | 1 + 1 file changed, 1 insertion(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b012ef5..5e77d16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ Changes in version 0.0.5 - UNRELEASED: - Go vet/fmt fixes, and misc. code cleanups. Patches by mvdan. - Changed the go.net import path to the new location (golang.org/x/net). + - Added limited support for detecting if the parent process crashes. Changes in version 0.0.4 - 2015-02-17 - Improve the runtime performance of the obfs4 handshake tests. -- cgit v1.2.3