[Varnish] #1603: vcl_hit: rename return(fetch) to return(miss) or have return(fetch) go to backend / v_b_f

Varnish varnish-bugs at varnish-cache.org
Tue Apr 28 11:07:08 CEST 2015


#1603: vcl_hit: rename return(fetch) to return(miss) or have return(fetch) go to
backend / v_b_f
----------------------+----------------------------------------
 Reporter:  slink     |       Owner:  Poul-Henning Kamp <phk@…>
     Type:  defect    |      Status:  closed
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |  Resolution:  fixed
 Keywords:            |
----------------------+----------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

 * status:  new => closed
 * owner:   => Poul-Henning Kamp <phk@…>
 * resolution:   => fixed


Comment:

 In [a27af9f8f286f1d7a38b91928426685a1f33493f]:
 {{{
 #!CommitTicketReference repository=""
 revision="a27af9f8f286f1d7a38b91928426685a1f33493f"
 Fix an oversight:  The correct and systematic thing is for vcl_hit{}
 to return(miss) rather than return(fetch).

 For now return(fetch) is still allowed, we don't want to bump vcl
 version for something this trivial, but it emits a SLT_VCL_Error
 urging people to change their VCL.

 Fixes #1603
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1603#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list