[Varnish] #502: purge() doesn't understand && in a string
Varnish
varnish-bugs at projects.linpro.no
Sun May 3 11:31:06 CEST 2009
#502: purge() doesn't understand && in a string
----------------------+-----------------------------------------------------
Reporter: Sesse | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 2.0
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
Hello,
Trying to do the following in vcl_recv():
purge("req.http.host == some.vhost && req.url ~ bleh")
does not work; purge.list does not get a new entry, and syslog says (when
I do purge.list, it seems)
May 1 16:15:56 pannekake varnishd[4077]: Child (4078) said expected
conditional (~, !~, == or !=) got "req.url"CLI result = 106
Any purge specification string without && in it (ie., only one term) seems
to work fine.
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/502>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list