]> err.no Git - varnish/commit
Make room in the shared memory segment for a panic string
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 20 Jul 2008 10:36:28 +0000 (10:36 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 20 Jul 2008 10:36:28 +0000 (10:36 +0000)
commit3063b41b07b37a04bfafce7780a5c8e1b1ed23d3
tree09591aeccf7aac835f476c8fa11933d5472611b9
parent9682b07008591ccdf1b4c531bb3018f6f4a92d7e
Make room in the shared memory segment for a panic string
buffer.

Replace the default libvarnish assert handler with a child specific
function.

This function which fills the static panic string and copy the
result to the shared memory panicstring.

In the manager process, report the content of the panic string
when the child dies.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2971 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_main.c
varnish-cache/bin/varnishd/cache_panic.c
varnish-cache/bin/varnishd/common.h
varnish-cache/bin/varnishd/mgt_child.c
varnish-cache/bin/varnishd/shmlog.c
varnish-cache/include/shmlog.h