Commit 8d8592eb authored by Federico G. Schwindt's avatar Federico G. Schwindt

Fix test in case someone has enough time to run it

P.S. It requires -t 80.
parent 7c920de3
...@@ -22,19 +22,19 @@ server s2 { ...@@ -22,19 +22,19 @@ server s2 {
varnish v1 -arg "-p debug=+waitinglist" -vcl+backend { varnish v1 -arg "-p debug=+waitinglist" -vcl+backend {
sub vcl_recv { sub vcl_recv {
if (req.http.x-client == "2") { if (req.http.x-client == "2") {
set req.backend = s2; set req.backend_hint = s2;
} }
} }
} -start } -start
varnish v1 -cliok "param.show tcp_keepalive_time" varnish v1 -cliok "param.show tcp_keepalive_time"
varnish v1 -cliok "param.set tcp_keepalive_time 1s" varnish v1 -cliok "param.set tcp_keepalive_time 1"
varnish v1 -cliok "param.show tcp_keepalive_probes" varnish v1 -cliok "param.show tcp_keepalive_probes"
varnish v1 -cliok "param.set tcp_keepalive_probes 1" varnish v1 -cliok "param.set tcp_keepalive_probes 1"
varnish v1 -cliok "param.show tcp_keepalive_intvl" varnish v1 -cliok "param.show tcp_keepalive_intvl"
varnish v1 -cliok "param.set tcp_keepalive_intvl 1s" varnish v1 -cliok "param.set tcp_keepalive_intvl 1"
varnish v1 -cliok "param.show first_byte_timeout" varnish v1 -cliok "param.show first_byte_timeout"
varnish v1 -cliok "param.set first_byte_timeout 70" varnish v1 -cliok "param.set first_byte_timeout 70"
......
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