Closed (fixed)
Project:
Varnish
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2012 at 10:04 UTC
Updated:
1 Mar 2012 at 12:50 UTC
Currently VarnishCache->clear() uses _varnish_terminal_run(array('purge req.http.host ~ ' . $host . ' && req.url ~ "^' . $base . $purge . '$"'));
But instead it should use varnish_purge() to ensure the command is varnish version aware.
Attached patch changes that.
| Comment | File | Size | Author |
|---|---|---|---|
| varnish-cache-handler-isnt-full-version-aware.patch | 541 bytes | das-peter |
Comments
Comment #1
fabsor commentedGood catch! Missed that when porting the Drupal 6 code to Drupal 7, since that had no cache backend. Commited here:
http://drupal.org/commitlog/commit/11214/51f66150291d06f5d279d4c08808fd4...