commit | 81c838c9e524ac59e4e61049c42c329050b1534b | [log] [tgz] |
---|---|---|
author | Philip Martin <philip@apache.org> | Mon Mar 20 01:27:41 2023 +0000 |
committer | Philip Martin <philip@apache.org> | Mon Mar 20 01:27:41 2023 +0000 |
tree | b6a04c538242f68354725ff1f333da09c70bbd43 | |
parent | 0a1a572db0e49f9086032ca7a76bb15f2e0be9c1 [diff] |
Add SIGTERM/SIGINT handling to svnserve, this allows it to exit more gracefully which allows tools like valgrind to monitor whether the program exits cleanly and do things like leak detection. * subversion/svnserve/svnserve.c (sigtermint_handler): New handler. (accept_connection): Check for signal. (sub_main): Install handler, check for signal, add return. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1908547 13f79535-47bb-0310-9956-ffa450edef68