Ignore:
Timestamp:
2012-01-30 09:48:35 (2 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
master, 4.0, experimental-ims
Children:
58e4a2
Parents:
ef4231f
git-author:
Poul-Henning Kamp <phk@…> (2012-01-30 09:48:35)
git-committer:
Poul-Henning Kamp <phk@…> (2012-01-30 09:48:35)
Message:

NB: VCL syntax change!

Change

return (hit_for_pass)

to:

set beresp.do_pass = true

It was wrong to make hit_for_pass a return action, because it is not.
It is a flag on the cached object, and that is all it is.

With streaming becoming the default, having it as return-action would
make writing vcl_fetch{} more cumbersome.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishd/cache/cache.h

    ra2c53c re815d5  
    523523        unsigned                do_gunzip; 
    524524        unsigned                do_stream; 
     525        unsigned                do_pass; 
    525526}; 
    526527 
Note: See TracChangeset for help on using the changeset viewer.