Maybe I should also mention that I am trying to test the restart behavior by 
simulating a a slow and unresponsive backend using this VCL code:

sub vcl_fetch {
     /* TEST CODE to test restarting REMOVE ME !!!! */
     if ((req.url ~ "MAGIC TESTING URL SUBSTRING") &&
        (req.restarts <= 3)) {
C{
     sleep(2);
}C

         return (restart);
     }


Is there a better way to do this?

_______________________________________________
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev

Reply via email to