[Varnish] #374: Implement restart in vcl_error

Varnish varnish-bugs at projects.linpro.no
Tue Nov 11 22:57:50 CET 2008

#374: Implement restart in vcl_error
 Reporter:  tcouery   |       Owner:  phk                
     Type:  defect    |      Status:  new                
 Priority:  normal    |   Milestone:  Varnish 2.1 release
Component:  varnishd  |     Version:  trunk              
 Severity:  normal    |    Keywords:  restart vcl_error  
 It would be very interesting to use restart in vcl_error to switch to a
 new backend when a server is down.
 We can't use restart in vcl_fetch when the server is down because
 vcl_fetch is never called.

 sub vcl_error {
   if (obj.status = 503) {

Ticket URL: <http://varnish.projects.linpro.no/ticket/374>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list