[master] f01063ac5 range: Remove comment gone stale with VRG_CheckBo()

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Jan 18 06:44:05 UTC 2023


commit f01063ac518137fd2b621152aae373b3d1ca3fd5
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Oct 26 14:52:19 2022 +0200

    range: Remove comment gone stale with VRG_CheckBo()

diff --git a/bin/varnishd/cache/cache_range.c b/bin/varnishd/cache/cache_range.c
index dc1aa73f3..8161fd8ce 100644
--- a/bin/varnishd/cache/cache_range.c
+++ b/bin/varnishd/cache/cache_range.c
@@ -115,13 +115,6 @@ vrg_dorange(struct req *req, void **priv)
 	if (low < 0 || high < 0)
 		return (NULL);		// Allow 200 response
 
-	/*
-	 * else (bo != NULL) {
-	 *    We assume that the client knows what it's doing and trust
-	 *    that both low and high make sense.
-	 * }
-	 */
-
 	if (req->resp_len >= 0) {
 		http_PrintfHeader(req->resp, "Content-Range: bytes %jd-%jd/%jd",
 		    (intmax_t)low, (intmax_t)high, (intmax_t)req->resp_len);


More information about the varnish-commit mailing list