Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Chris Lu
59dd271734
more glog
3 years ago
Chris Lu
4cbba2b1c6
add more glog to s3
3 years ago
Chris Lu
71175461ef
add glog for s3 handlers
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
8b382a8209
refactor
4 years ago
Chris Lu
33b87244ef
refactoring
4 years ago
Chris Lu
2b60e2abb1
only disallow streaming signed when no auth enabled
fix https://github.com/chrislusf/seaweedfs/issues/2101
4 years ago
Konstantin Lebedev
b612d5aebd
s3 test get w/ If-Match: bogus ETag
4 years ago
Konstantin Lebedev
69c768870b
- object write cache control
- object write expires
4 years ago
Chris Lu
431684798b
s3: add errors if requests are signed by no authentication is setup
fix https://github.com/chrislusf/seaweedfs/issues/2075
4 years ago
Konstantin Lebedev
03d1199d5f
Revert "revert PR #1903 avoid http error: superfluous response.WriteHeader"
This reverts commit ac71117e
4 years ago
Chris Lu
ac71117ee6
revert PR #1903 avoid http error: superfluous response.WriteHeader
4 years ago
Merlin Gaillard
4d4acc715e
s3api: handle 304 response code from filer
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
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
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
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
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
781585b195
remove unnecessary checking
4 years ago
Chris Lu
7c9e592c2d
s3: avoid nil resp when having error
fix https://github.com/chrislusf/seaweedfs/issues/1622
4 years ago
Chris Lu
86cdb2a3e5
adjust logs
4 years ago
Konstantin Lebedev
6cd6ff6962
avoid blank response for 404
4 years ago
Chris Lu
b3aa2fab9a
s3: report error to s3 when updating an object but it is already a directory
fix https://github.com/chrislusf/seaweedfs/issues/1545
4 years ago
limd
402aef8f30
s3:
1.fix spark reading S3 directory wildcard problem
2.fix the problem of the spark history service writing S3 directory
reference git revsion number: b41b7ea4d0
4 years ago
Chris Lu
dbf5327b98
s3: handle response-content-encoding
fix https://github.com/chrislusf/seaweedfs/issues/1487
4 years ago
limd
8f9f29b773
fixed the problem of empty directory when S3 deleted the directory
4 years ago
limd
1892677b22
fixed the problem of empty directory when S3 deleted the directory
4 years ago
limd
a99f63cb4d
1.add S3 copy directory function
2.fixed the problem of empty directory when S3 deleted the directory
4 years ago
Chris Lu
5b40a2690a
refactoring
4 years ago
Chris Lu
828a5ae429
check signature only when auth is enabled
4 years ago
limd
b41b7ea4d0
fix spark read s3 bug (sc.binaryFiles)
4 years ago
limd
92c32f9d46
PutObject: fix create folder bug
4 years ago
Chris Lu
54cd582653
refactor
4 years ago
Chris Lu
ea0180de4e
auth for presigned put operation
4 years ago
Chris Lu
a4e3cffe0a
S3: DeleteObject API also support deleting a folder recursively
5 years ago
Chris Lu
00f96d86a1
fix typo
5 years ago
Rinat Shigapov
283b749ff1
keep 204 response
5 years ago