Commit 5cc1ff05 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

allow delays in http procssing (client & server)



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2715 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 5b6935f7
...@@ -4,20 +4,16 @@ ...@@ -4,20 +4,16 @@
varnish v1 -launch varnish v1 -launch
delay 1
varnish v1 -vcl { varnish v1 -vcl {
backend s1 { backend s1 {
.host = "localhost"; .host = "localhost";
.port = "9080"; .port = "9080";
} }
vcl_recv { sub vcl_recv {
pipe; pipe;
} }
} }
delay 1
varnish v1 -start varnish v1 -start
server s1 -repeat 1 { server s1 -repeat 1 {
......
...@@ -465,6 +465,7 @@ static struct cmds http_cmds[] = { ...@@ -465,6 +465,7 @@ static struct cmds http_cmds[] = {
{ "txresp", cmd_http_txresp }, { "txresp", cmd_http_txresp },
{ "rxresp", cmd_http_rxresp }, { "rxresp", cmd_http_rxresp },
{ "expect", cmd_http_expect }, { "expect", cmd_http_expect },
{ "delay", cmd_delay },
{ NULL, NULL } { NULL, NULL }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment