Mailing List Archive

#145: Issues whild loading VCL code on the fly
#145: Issues whild loading VCL code on the fly
----------------------+-----------------------------------------------------
Reporter: anders | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 1.1
Severity: normal | Keywords: varnishd load VCL
----------------------+-----------------------------------------------------
After loading VCL code with a couple of different config names, including
doing that with errors in the config, it happens that you can not really
discard a configuration which is not in use anymore.

{{{
Connected to localhost.
Escape character is '^]'.
vcl.list
200 15
* 38 boot

vcl.load run1 /usr/local/etc/varnish.vcl
106 102
Expected action, 'if' or '}'
(/usr/local/etc/varnish.vcl Line 54 Pos 1)
sub vcl_miss {
###-----------

vcl.list
200 15
* 38 boot

vcl.load run1 /usr/local/etc/varnish.vcl
200 0

vcl.list
200 30
* 38 boot
0 run1

vcl.use run1
200 0

vcl.load run2 /usr/local/etc/varnish.vcl
106 102
Expected action, 'if' or '}'
(/usr/local/etc/varnish.vcl Line 54 Pos 1)
sub vcl_miss {
###-----------

vcl.list
200 30
23 boot
* 15 run1

vcl.load run2 /usr/local/etc/varnish.vcl
200 0

vcl.list
200 45
8 boot
* 30 run1
0 run2

vcl.discard run2
200 0

vcl.load run2 /usr/local/etc/varnish.vcl
200 0

vcl.use run2
200 0

vcl.discard run1
200 0

vcl.load run1 /usr/local/etc/varnish.vcl
106 28
Config 'run1' already loaded
vcl.list
200 45
0 boot
1 run1
* 50 run2

vcl.discard run1
106 34
No configuration named run1 known.
}}}

--
Ticket URL: <http://varnish.projects.linpro.no/ticket/145>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
#145: Issues whild loading VCL code on the fly [ In reply to ]
#145: Issues whild loading VCL code on the fly
-------------------------------+--------------------------------------------
Reporter: anders | Owner: des
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: varnishd | Version: 1.1
Severity: normal | Resolution:
Keywords: varnishd load VCL |
-------------------------------+--------------------------------------------
Changes (by des):

* owner: phk => des
* status: new => assigned

--
Ticket URL: <http://varnish.projects.linpro.no/ticket/145#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
Re: #145: Issues whild loading VCL code on the fly [ In reply to ]
#145: Issues whild loading VCL code on the fly
-------------------------------+---------------------
Reporter: anders | Owner: petter
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 1.1
Severity: normal | Resolution: fixed
Keywords: varnishd load VCL |
-------------------------------+---------------------

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/145#comment:6>
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: #145: Issues whild loading VCL code on the fly [ In reply to ]
#145: Issues whild loading VCL code on the fly
-------------------------------+---------------------
Reporter: anders | Owner: petter
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 1.1
Severity: normal | Resolution: fixed
Keywords: varnishd load VCL |
-------------------------------+---------------------

Comment (by domtheo):

[http://www.tokobungasabana.com Florist Jakarta] |
[http://www.tokobungasabana.com Toko Bunga Online Murah] |
[https://digiadvertise.wordpress.com/our-services/jasa-seo/ Jasa SEO]

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/145#comment:6>
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