[master] 5e838844a Sync comment with reality

Nils Goroll nils.goroll at uplex.de
Thu Sep 6 20:20:11 UTC 2018


commit 5e838844ab3772ad4c961c94292efff68b974dd3
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 bedc6dae7..ee5923db7 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