]> err.no Git - varnish/commitdiff
allow delays in http procssing (client & server)
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 17 Jun 2008 07:32:43 +0000 (07:32 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 17 Jun 2008 07:32:43 +0000 (07:32 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2715 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/t001.vtc
varnish-cache/bin/varnishtest/vtc_http.c

index 4fd00402c70e5ef9775931fc4a32aaab9f85646a..a55d2d116c9fdf744e619a30bf348202c516fa56 100644 (file)
@@ -4,20 +4,16 @@
 
 varnish v1 -launch
 
-delay 1
-
 varnish v1 -vcl {
        backend s1 {
                .host = "localhost";
                .port = "9080";
        }
-       vcl_recv {
+       sub vcl_recv {
                pipe;
        }
 }
 
-delay 1
-
 varnish v1 -start
 
 server s1 -repeat 1 {
index 768589b44c85775034054194027ee8cbfc883bea..75c3d3e99deb3dd4d696dfa3757322913fd13cac 100644 (file)
@@ -465,6 +465,7 @@ static struct cmds http_cmds[] = {
        { "txresp",     cmd_http_txresp },
        { "rxresp",     cmd_http_rxresp },
        { "expect",     cmd_http_expect },
+       { "delay",      cmd_delay },
        { NULL,         NULL }
 };