[master] 2d51524 These programs should respect SIGHUP and die, rather pointlessly eat all CPU time.
Poul-Henning Kamp
phk at FreeBSD.org
Sat Apr 9 00:19:05 CEST 2016
commit 2d51524ac36dd72efd9002381b711936dd5e305c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Apr 8 22:16:34 2016 +0000
These programs should respect SIGHUP and die, rather pointlessly
eat all CPU time.
diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index 9eab9bf..f279dc3 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -294,7 +294,7 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
static int __match_proto__(VUT_cb_f)
sighup(void)
{
- return (1);
+ exit(1);
}
static void *
diff --git a/bin/varnishtop/varnishtop.c b/bin/varnishtop/varnishtop.c
index f56b9a7..9c555cc 100644
--- a/bin/varnishtop/varnishtop.c
+++ b/bin/varnishtop/varnishtop.c
@@ -183,7 +183,7 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
static int __match_proto__(VUT_cb_f)
sighup(void)
{
- return (1);
+ exit (1);
}
static void
More information about the varnish-commit
mailing list