commit | 166e1aeeec0f9a7ef37fd16c275339b0a1767901 | [log] [tgz] |
---|---|---|
author | Jean-Francois Thibert <jfthibert@google.com> | Thu Nov 07 10:27:16 2013 -0500 |
committer | Jean-Francois Thibert <jfthibert@google.com> | Thu Nov 07 11:05:59 2013 -0500 |
tree | 314885017a34d5d16bbf792755342b435899f734 | |
parent | cbe411bfc721bd0019a6592e57f0498b9da1c95d [diff] |
Use SIGTERM signal to stop Netflix We need to save cookies on DIAL exit in order to pass the test DPI-179-TC1 Persistent Cookies Change-Id: Id76db62ac2f0ecaecfcfa3e934553f48999cee11
diff --git a/src/server/main.c b/src/server/main.c index 3a8afbd..bd881c1 100644 --- a/src/server/main.c +++ b/src/server/main.c
@@ -345,7 +345,7 @@ if( pid ) { printf("Killing pid %d\n", pid); - kill((pid_t)pid, SIGKILL); + kill((pid_t)pid, SIGTERM); waitpid((pid_t)pid, NULL, 0); // reap child } }