diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-16 00:33:14 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-16 00:33:14 -0700 |
| commit | 4b1ed227d12323ab3f3c67a0b39967c84a053bc4 (patch) | |
| tree | 3f5b27fa912efe8ae8ecb33716dcf5c5074d93b1 /weed/util/http_util.go | |
| parent | 10164d0386460c1c39ed8b5ee5c434704a2b28fd (diff) | |
| download | seaweedfs-4b1ed227d12323ab3f3c67a0b39967c84a053bc4.tar.xz seaweedfs-4b1ed227d12323ab3f3c67a0b39967c84a053bc4.zip | |
revert fasthttp changes
related to https://github.com/chrislusf/seaweedfs/issues/1907
Diffstat (limited to 'weed/util/http_util.go')
| -rw-r--r-- | weed/util/http_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/http_util.go b/weed/util/http_util.go index eff282bab..135d10c45 100644 --- a/weed/util/http_util.go +++ b/weed/util/http_util.go @@ -313,7 +313,7 @@ func ReadUrlAsStream(fileUrl string, cipherKey []byte, isContentGzipped bool, is } func readEncryptedUrl(fileUrl string, cipherKey []byte, isContentCompressed bool, isFullChunk bool, offset int64, size int, fn func(data []byte)) (bool, error) { - encryptedData, retryable, err := FastGet(fileUrl) + encryptedData, retryable, err := Get(fileUrl) if err != nil { return retryable, fmt.Errorf("fetch %s: %v", fileUrl, err) } |
