Mailing List Archive

#374: Implement restart in vcl_error
#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
Re: #374: Implement restart in vcl_error [ In reply to ]
#374: Implement restart in vcl_error
-------------------------------+----------------------------------
Reporter: tcouery | Owner: kristian
Type: defect | Status: closed
Priority: normal | Milestone: Varnish 2.1 release
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: restart vcl_error |
-------------------------------+----------------------------------

Comment (by keretamalam):

I am about to leave and cannot look into this further right now, but I do
want to mention that relying on pkg-config itself is not a problem (as you
said, we also use it later), the problem is that on some systems, the .pc
file for pkg-config is supplying wrong information (whereas on yours, it's
botan-config that is wrong), so that's why I'm trying to make it work with
both (while one of them is bad).
[http://maskodoq.blogspot.com/2014/03/unit-link-terbaik-di-indonesia.html
Unit Link Terbaik di Indonesia Commonwealth Life Investra Link]
[http://maskodoq.blogspot.com/2013/07/CiptoJunaedy.html Cipto Junaedy]
[http://etnisjawa.blogspot.com/2013/08/apakah-cipto-junaedy-bohong.html
Cipto Junaedy]

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/374#comment:8>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #374: Implement restart in vcl_error [ In reply to ]
#374: Implement restart in vcl_error
-------------------------------+----------------------------------
Reporter: tcouery | Owner: kristian
Type: defect | Status: closed
Priority: normal | Milestone: Varnish 2.1 release
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: restart vcl_error |
-------------------------------+----------------------------------

Comment (by domtheo):

[http://www.papdan.com/seo-services-search-engine-optimisation.php
Melbourne SEO Services] | [http://www.papdan.com/ Melbourne Web Developer]
| [http://www.usapropertyinvestors.com.au USA Property Investment] |
[http://www.phillro.com.au/p/industrial-2/airless-spray-packages-2/
Airless Spray]

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/374#comment:8>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs