[master] 54471f2 Update RFC reference

Federico G. Schwindt fgsch at lodoss.net
Mon Oct 26 00:21:25 CET 2015


commit 54471f2a86ae7234a31c97c0adb5e70a1b28ee38
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sun Oct 25 23:16:28 2015 +0000

    Update RFC reference
    
    Fixes #1809.

diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 8ee198b..8e0a70b 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -342,7 +342,7 @@ vbf_stp_startfetch(struct worker *wrk, struct busyobj *bo)
 	} else if (http_IsStatus(bo->beresp, 204)) {
 		/*
 		 * 204 is "No Content", obviously don't expect a body.
-		 * [RFC2616 10.2.5 p60]
+		 * [RFC7230 3.3.1 p28 and 3.3.2 p30]
 		 */
 		wrk->stats->fetch_204++;
 		if (http_GetHdr(bo->beresp, H_Content_Length, NULL) ||



More information about the varnish-commit mailing list