mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 19:39:56 +08:00
in case when content is not compressed
This commit is contained in:
@@ -312,7 +312,7 @@ func readEncryptedUrl(fileUrl string, cipherKey []byte, isContentCompressed bool
|
||||
if isContentCompressed {
|
||||
decryptedData, err = DecompressData(decryptedData)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unzip decrypt %s: %v", fileUrl, err)
|
||||
glog.V(0).Info("unzip decrypt %s: %v", fileUrl, err)
|
||||
}
|
||||
}
|
||||
if len(decryptedData) < int(offset)+size {
|
||||
|
Reference in New Issue
Block a user