Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2015 14:17:11 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399918 - head/sysutils/monit/files
Message-ID:  <201510211417.t9LEHBOK088171@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
+         {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510211417.t9LEHBOK088171>