[master] 1ca91d9 Make sure we don't progress the request while the SIGSEGV happens.

Poul-Henning Kamp phk at varnish-cache.org
Wed Sep 18 12:57:38 CEST 2013


commit 1ca91d9dc52ebdc5db42c8f322737e0af1755317
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Sep 18 10:57:20 2013 +0000

    Make sure we don't progress the request while the SIGSEGV happens.

diff --git a/bin/varnishtest/tests/c00057.vtc b/bin/varnishtest/tests/c00057.vtc
index 1db243d..5ac6cee 100644
--- a/bin/varnishtest/tests/c00057.vtc
+++ b/bin/varnishtest/tests/c00057.vtc
@@ -8,8 +8,9 @@ server s1 {
 varnish v1 -cliok "param.set sigsegv_handler on" -vcl+backend {
 	C{
 #include <signal.h>
+#include <stdlib.h>
 }C
-	sub vcl_recv { C{ raise(SIGSEGV); }C }
+	sub vcl_recv { C{ raise(SIGSEGV); sleep(2); }C }
 } -start
 
 client c1 {



More information about the varnish-commit mailing list