svn commit: r399918 - head/sysutils/monit/files
Mathieu Arnold
mat at FreeBSD.org
Wed Oct 21 14:17:13 UTC 2015
Author: mat
Date: Wed Oct 21 14:17:11 2015
New Revision: 399918
URL: https://svnweb.freebsd.org/changeset/ports/399918
Log:
Fix slow shutdown.
PR: 201919
Submitted by: maintainer
Sponsored by: Absolight
Added:
head/sysutils/monit/files/patch-src_http.c (contents, props changed)
head/sysutils/monit/files/patch-src_monit.c (contents, props changed)
Added: head/sysutils/monit/files/patch-src_http.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/monit/files/patch-src_http.c Wed Oct 21 14:17:11 2015 (r399918)
@@ -0,0 +1,11 @@
+--- src/http.c.orig 2015-06-02 10:09:34 UTC
++++ src/http.c
+@@ -137,6 +137,8 @@ void monit_http(Httpd_Action action) {
+
+
+ static void *thread_wrapper(void *arg) {
++ sigset_t ns;
++ set_signal_block(&ns, NULL);
+ Engine_start();
+ #ifdef HAVE_OPENSSL
+ Ssl_threadCleanup();
Added: head/sysutils/monit/files/patch-src_monit.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/monit/files/patch-src_monit.c Wed Oct 21 14:17:11 2015 (r399918)
@@ -0,0 +1,11 @@
+--- src/monit.c.orig 2015-06-08 12:24:39 UTC
++++ src/monit.c
+@@ -819,6 +819,8 @@ static void version() {
+ * M/Monit heartbeat thread
+ */
+ static void *heartbeat(void *args) {
++ sigset_t ns;
++ set_signal_block(&ns, NULL);
+ LogInfo("M/Monit heartbeat started\n");
+ LOCK(heartbeatMutex)
+ {
More information about the svn-ports-head
mailing list