From 5c97d0d3cfd673f2d47cbd418ab38b7cfac7cc7b Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 21 Apr 2024 12:51:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BDPartial=20Content=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=9C=AC=E5=9C=B0=E7=BC=93=E5=AD=98=E4=B8=8D=E5=AE=8C?= =?UTF-8?q?=E6=95=B4=E6=97=B6=EF=BC=8C=E5=8F=AA=E8=A6=81=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E4=B8=BA=E7=A9=BA=EF=BC=8C=E5=B0=B1=E4=BB=8E?= =?UTF-8?q?=E6=BA=90=E7=AB=99=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request_cache.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/nodes/http_request_cache.go b/internal/nodes/http_request_cache.go index ae09466..ff03cc3 100644 --- a/internal/nodes/http_request_cache.go +++ b/internal/nodes/http_request_cache.go @@ -679,7 +679,6 @@ func (this *HTTPRequest) tryPartialReader(storage caches.StorageInterface, key s // 检查是否已下载完整 if !forcePartialContent && len(ranges) > 0 && - ranges[0][0] == 0 && ranges[0][1] < 0 && !partialReader.IsCompleted() { return nil, nil