[4.0] 77bdac6 Update RFC reference

Martin Blix Grydeland martin at varnish-software.com
Tue Apr 5 15:58:05 CEST 2016


commit 77bdac69e7f12ff98242692e6ad53a6efd4c689b
Author: Pål Hermunn Johansen <hermunn at varnish-software.com>
Date:   Fri Apr 1 15:53:17 2016 +0200

    Update RFC reference
    
    Fixes #1809, backported from master.
    
    Original patch by Federico G. Schwindt (fgsch) is 54471f2a86ae7234a31c97c0adb5e70a1b28ee38

diff --git a/bin/varnishd/cache/cache_rfc2616.c b/bin/varnishd/cache/cache_rfc2616.c
index d05c823..9309f8d 100644
--- a/bin/varnishd/cache/cache_rfc2616.c
+++ b/bin/varnishd/cache/cache_rfc2616.c
@@ -224,7 +224,7 @@ RFC2616_Body(struct busyobj *bo, struct dstat *stats)
 	if (hp->status == 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]
 		 */
 		stats->fetch_204++;
 		return (BS_NONE);



More information about the varnish-commit mailing list