Chris Lu
ac71117ee6
revert PR #1903 avoid http error: superfluous response.WriteHeader
4 years ago
Chris Lu
e87e6ef33c
s3: return 404 if bucket does not exist
fix https://github.com/chrislusf/seaweedfs/issues/2039
4 years ago
Konstantin Lebedev
a48785c7df
auth use bucket wild cards
4 years ago
Merlin Gaillard
4d4acc715e
s3api: handle 304 response code from filer
4 years ago
Konstantin Lebedev
ba175f81b5
add auth aws signV4
4 years ago
Chris Lu
b1a86cf808
s3: copy object to itself
fix https://github.com/chrislusf/seaweedfs/issues/1922
4 years ago
Konstantin Lebedev
bf94149920
add line
4 years ago
Konstantin Lebedev
c5705e7a35
dir + slash key does not exist
https://github.com/chrislusf/seaweedfs/issues/1917
4 years ago
wuh-fnst
050a7f9599
s3: count correction for the number of files in the dir
4 years ago
Konstantin Lebedev
3a3699867b
Status PartialContent for Content-Range response
4 years ago
Chris Lu
79280e1513
escape special characters
fix https://github.com/chrislusf/seaweedfs/issues/1884
4 years ago
wuheng
828fbf3fb7
s3: "isLast" returns true when the file does not exist
4 years ago
Chris Lu
ca546f47e1
s3: escape object key if containing special characters
fix https://github.com/chrislusf/seaweedfs/issues/1884
4 years ago
Konstantin Lebedev
bb3af2d70b
no directoriesWithDeletion
4 years ago
Konstantin Lebedev
15b018da34
s3 delete-objects pass OK for fail to delete non-empty folder
4 years ago
Chris Lu
387c6f4218
Revert "delete the folder object in multi_object_delete"
This reverts commit 2e89c8c9ae
.
4 years ago
Chris Lu
2e89c8c9ae
delete the folder object in multi_object_delete
fix https://github.com/chrislusf/seaweedfs/issues/1857
4 years ago
Chris Lu
5511722420
s3: list permission is needed to list my buckets
fix https://github.com/chrislusf/seaweedfs/issues/1837
4 years ago
bingoohuang
eab6e31d34
use backticks instead of double quotes to avoid escaped additionally in regex
4 years ago
Chris Lu
8b169aa47c
s3: Critical - S3 Delete Multiple Objects, delete the bucket
fix https://github.com/chrislusf/seaweedfs/issues/1806
4 years ago
Chris Lu
487e435679
adjust http max idle connections per host
related to https://github.com/chrislusf/seaweedfs/issues/1802
4 years ago
Chris Lu
a0e84c4fbc
go fmt
4 years ago
Chris Lu
5353e38469
S3: should return 204 on DELETE to nonexistent file
fix https://github.com/chrislusf/seaweedfs/issues/1776
4 years ago
Chris Lu
609daaf387
s3: DeleteMultipleObjectsHandler clean up leftover empty folders
fix https://github.com/chrislusf/seaweedfs/issues/1772
4 years ago
Chris Lu
990fa69bfe
add back AdjustedUrl() related code
4 years ago
Chris Lu
9292796ec2
fmt
4 years ago
Chris Lu
c2bf1a88ac
delete from the deepest directory first when checking empty folders
4 years ago
Chris Lu
e9d8201925
s3: batch purge empty folders
4 years ago
Chris Lu
00707ec00f
mount: outsideContainerClusterMode proxy through filer
Running mount outside of the cluster would not need to expose all the volume servers to outside of the cluster. The chunk read and write will go through the filer.
4 years ago
Chris Lu
6ca10725b8
Revert "mount: when outside cluster network, use filer as proxy to access volume servers"
This reverts commit 096e088d7b
.
4 years ago
Chris Lu
096e088d7b
mount: when outside cluster network, use filer as proxy to access volume servers
4 years ago
Chris Lu
ccbdb38c89
s3: fix for listing objects if more than 1000 in the folder
many existing tools have max key set to 1000
4 years ago
Chris Lu
389426bbb7
s3: listing may repeat on the edge
4 years ago
Chris Lu
8a7302ce37
s3: KeyCount is zero
fix https://github.com/chrislusf/seaweedfs/issues/1741
4 years ago
Chris Lu
e327385644
go fmt
4 years ago
Chris Lu
6d2c979999
s3: fix regression
fix https://github.com/chrislusf/seaweedfs/issues/1707
4 years ago
Chris Lu
561a2ff0bc
s3: add option for "alllowEmptyFolder"
4 years ago
Chris Lu
aa020ee7e7
s3: restore V2 auth type
The added headers were included in calculating the signatures, failing the comparison
4 years ago
Chris Lu
090f85be4b
s3: support config action Admin:bucket
4 years ago
Chris Lu
8e48a235e2
s3: avoid looping if the directory is empty
fix https://github.com/chrislusf/seaweedfs/issues/1701
4 years ago
Chris Lu
1620de08ae
added more logs
4 years ago
Chris Lu
a09cd28986
add debug messages
4 years ago
Chris Lu
3be3635799
just log error when checking empty dir failed
4 years ago
Chris Lu
0ca9d89589
s3: break loop if error
fix #1701
4 years ago
Chris Lu
132f275d04
s3: log errors instead of stopping when checking isDirectoryAllEmpty has error
4 years ago
Chris Lu
db62090f88
s3: break loop if error
fix https://github.com/chrislusf/seaweedfs/issues/1701
4 years ago
Chris Lu
4f31c1bb94
go fmt
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
5c465293e9
correctly determine whether a folder is empty
avoid edge cases that deleting the folder if previous 32 directories are all empty
early terminate if one file is found
4 years ago
Chris Lu
f930c713fc
more efficient recursion
4 years ago