]> err.no Git - varnish/commit
Stop segfaulting when trying to set a nonexistant waiter
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 25 Feb 2009 10:25:43 +0000 (10:25 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 25 Feb 2009 10:25:43 +0000 (10:25 +0000)
commit73643a3e8778077db0bb601c453dc378ae9ad32a
tree50f627a0495a606da2149ce5aad83e0c079f4220
parente274d13b135ccbfe8d6abccf69c093313b38bc85
Stop segfaulting when trying to set a nonexistant waiter

We failed to properly check for the end of the list of waiters.
Handle this correctly and add a test case

Fixes #428

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3825 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishtest/tests/b00008.vtc