[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-bugs
Subject:    [Varnish] #374: Implement restart in vcl_error
From:       varnish-bugs () projects ! linpro ! no (Varnish)
Date:       2008-11-11 21:57:50
Message-ID: 053.fd2fc11de17ab07a4a0b42ad6d8273db () projects ! linpro ! no
[Download RAW message or body]

#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) {
     restart;
   }
 }

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic