chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
3 years ago
chrislu
7210558c7b
s3: pass through s3 presigned headers
fix https://github.com/chrislusf/seaweedfs/discussions/2502
3 years ago
Konstantin Lebedev
34779e8f38
force enable asynchronous I/O sending events to Fluentd
3 years ago
Konstantin Lebedev
98251fe16a
non blocking audit log
3 years ago
Konstantin Lebedev
10678cde81
audit log config
3 years ago
Konstantin Lebedev
4ec8715f20
audit log
3 years ago
Chris Lu
f17fa400d5
refactoring
3 years ago
Chris Lu
006b4ec0f8
refactoring
3 years ago
Chris Lu
a6bb509cb7
adjust mime detection
3 years ago
Konstantin Lebedev
dd2cc1acaf
fix https://github.com/chrislusf/seaweedfs/issues/2387
3 years ago
Konstantin Lebedev
8de7915950
s3 mime detect
3 years ago
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