[6.0] dfd83b399 Sync comment with reality

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Oct 31 13:08:15 UTC 2018


commit dfd83b399291116cbb26e7ab30bc9b46b305846d
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Sep 6 22:18:14 2018 +0200

    Sync comment with reality
    
    it really is about time we rename OC_F_PASS -> OC_F_HFM, but
    my recent cleanup attempt included too much change before the release

diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 0aaa2017f..6e8097c6a 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -451,7 +451,7 @@ vbf_stp_fetchbody(struct worker *wrk, struct busyobj *bo)
 		if (vfc->oc->flags & OC_F_ABANDON) {
 			/*
 			 * A pass object and delivery was terminated
-			 * We don't fail the fetch, in order for hit-for-pass
+			 * We don't fail the fetch, in order for HitMiss
 			 * objects to be created.
 			 */
 			AN(vfc->oc->flags & OC_F_PASS);


More information about the varnish-commit mailing list