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
vca_act = NULL;
return;
}
- for (i = 0; vca_waiters[i]->name; i++) {
+ for (i = 0; vca_waiters[i]; i++) {
if (!strcmp(arg, vca_waiters[i]->name)) {
vca_act = vca_waiters[i];
return;
varnish v1 -cliok "help"
varnish v1 -cliok "stats"
+
+varnish v1 -cliok "param.set waiter default"
+
+varnish v1 -clierr 106 "param.set waiter HASH(0x8839c4c)"