]> err.no Git - varnish/commitdiff
Use 10 second CLI timeout
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 26 Jun 2008 09:22:46 +0000 (09:22 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 26 Jun 2008 09:22:46 +0000 (09:22 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2817 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/vtc_varnish.c

index 8afc7840bb85db0a9172e1e08239c9a58d1cc213..b8e6897ed7697677a0d5b7fb0a6421beacb18e43 100644 (file)
@@ -89,7 +89,7 @@ varnish_ask_cli(const struct varnish *v, const char *cmd, char **repl)
        assert(i == strlen(cmd));
        i = write(v->cli_fd, "\n", 1);
        assert(i == 1);
-       i = cli_readres(v->cli_fd, &retval, &r, 1.0);
+       i = cli_readres(v->cli_fd, &retval, &r, 10.0);
        assert(i == 0);
        vtc_dump(v->vl, 4, "CLI RX", r);
        vtc_log(v->vl, 3, "CLI STATUS %u", retval);