Commit 1ca91d9d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

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

parent 3f0f8489
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment