mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +08:00 
			
		
		
		
	下载Partial Content时,本地缓存不完整时,只要结束位置为空,就从源站下载
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user