Ticket #539 (closed defect: fixed)
unable to compare two headers in vcl
| Reported by: | hamnis | Owned by: | phk |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | varnishd | Version: | trunk |
| Severity: | critical | Keywords: | |
| Cc: |
Description
sub vcl_fetch {
if (obj.http.etag ~ req.http.if-none-match) {
error 304 "Not Modified";
}
}
causes compile error. Message from VCC-compiler: Expected CSTR got 'req.http.if-none-match' (program line 255), at (input Line 92 Pos 25)
if (obj.http.etag ~ req.http.if-none-match) {
Running VCC-compiler failed, exit 1 VCL compilation failed
Change History
Note: See
TracTickets for help on using
tickets.
