Oleg Salionov
4cfc7d3b10
Dont try lazy decode content in proxyToFiler if no accept-encoding provided ( #5907 )
5 months ago
vadimartynov
86d92a42b4
Added tls for http clients ( #5766 )
* Added global http client
* Added Do func for global http client
* Changed the code to use the global http client
* Fix http client in volume uploader
* Fixed pkg name
* Fixed http util funcs
* Fixed http client for bench_filer_upload
* Fixed http client for stress_filer_upload
* Fixed http client for filer_server_handlers_proxy
* Fixed http client for command_fs_merge_volumes
* Fixed http client for command_fs_merge_volumes and command_volume_fsck
* Fixed http client for s3api_server
* Added init global client for main funcs
* Rename global_client to client
* Changed:
- fixed NewHttpClient;
- added CheckIsHttpsClientEnabled func
- updated security.toml in scaffold
* Reduce the visibility of some functions in the util/http/client pkg
* Added the loadSecurityConfig function
* Use util.LoadSecurityConfiguration() in NewHttpClient func
6 months ago
Konstantin Lebedev
f77eee667d
add s3test for sql ( #5718 )
* add s3test for sql
* fix test test_bucket_listv2_delimiter_basic for s3
* fix action s3tests
* regen s3 api xsd
* rm minor s3 test test_bucket_listv2_fetchowner_defaultempty
* add docs
* without xmlns
7 months ago
Konstantin Lebedev
5ffacbb6ea
refactor all methods strings to const ( #5726 )
7 months ago
chrislu
d521466a37
split file
9 months ago
Konstantin Lebedev
33537ae29f
[s3] fix s3 test_multipart_get_part ( #5476 )
* try fix s3 test_multipart_get_part
* add passed s3 tests
* fix SeaweedFSUploadId
* rm spaces
* convert part request to range
* add passed s3 tests of multipart
10 months ago
changlin.shi
618668dda8
Revert "fix: 当缺少content-type头和文件后缀时自动检测mime type"
This reverts commit 503ae6ad64
.
11 months ago
changlin.shi
503ae6ad64
fix: 当缺少content-type头和文件后缀时自动检测mime type
Signed-off-by: changlin.shi <changlin.shi@ly.com>
1 year ago
chrislu
645ae8c57b
Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs ""
This reverts commit 8cb42c39
1 year ago
chrislu
8cb42c39ad
Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs "
This reverts commit 2e5aa06026
, reversing
changes made to 4d414f54a2
.
1 year ago
dependabot[bot]
a04bd4d26f
Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 ( #4850 )
* Bump github.com/rclone/rclone from 1.63.1 to 1.64.0
Bumps [github.com/rclone/rclone](https://github.com/rclone/rclone ) from 1.63.1 to 1.64.0.
- [Release notes](https://github.com/rclone/rclone/releases )
- [Changelog](https://github.com/rclone/rclone/blob/master/RELEASE.md )
- [Commits](https://github.com/rclone/rclone/compare/v1.63.1...v1.64.0 )
---
updated-dependencies:
- dependency-name: github.com/rclone/rclone
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* API changes
* go mod
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Co-authored-by: chrislu <chris.lu@gmail.com>
1 year ago
SmsS4
f61490966f
Add time to first byte metric for s3 ( #4768 )
* Add time to first byte metric for s3
* Change second to millisecond
1 year ago
SmoothDenis
51bcc219ea
s3api should return 500 code from filer ( #4699 )
2 years ago
SmsS4
17e91d2917
Use filerGroup for s3 buckets collection prefix ( #4465 )
* Use filerGroup for s3 buckets collection prefix
* Fix templates
* Remove flags
* Remove s3CollectionPrefix
2 years ago
Konstantin Lebedev
5614ad0000
fix s3test test_bucket_listv2_delimiter_prefix_ends_with_delimiter ( #4399 )
* fix s3test test_bucket_listv2_delimiter_prefix_ends_with_delimiter
* fix list with delimiter and start token
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
Konstantin Lebedev
130bc3e668
s3 fix get fake dir object key ( #4390 )
2 years ago
changlin.shi
0c3009911e
optimize readability
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
3b69ce6c3d
set accept-encoding if empty
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
381b496132
acl for Initializing multipart upload
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
pavelzhurov
abe4a61659
Bug fix: empty key in DeleteMultipleObjects request caused bucket delete ( #3939 )
2 years ago
chrislu
8b9957d461
add back "/" prefix if it is missing in object
fix https://github.com/seaweedfs/seaweedfs/issues/3737
2 years ago
changlin.shi
ebe1e39e7d
fix parent path
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
900feb62b6
fix parent path
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
famosss
874fd197b5
feat: simplify a bit ( #3905 )
2 years ago
famosss
25e012d30b
fix: set user metadata key to lowercase ( #3894 )
* fix: set user metadata key to lowercase
* feat: simplify a bit
2 years ago
Guo Lei
97edb40275
Fix errinfo ( #3893 )
* types packages is imported more than onece
* Fix error response when format of --expires is wrong.
It MUST be in RFC 1123 date format.
2 years ago
changlin.shi
4b36721323
implement `GetObjectAclHandler`
2 years ago
changlin.shi
f79a3a73ee
add acl support for `PutObjectAcl`
2 years ago
changlin.shi
af093721a2
add acl support for `PutObject` and `PutObjectPart`
2 years ago
changlin.shi
daf5b4d59b
add acl validation for s3 GetObjectHandler
2 years ago
Ryan Russell
ad3a3c8782
refactor(s3api_object_handlers): `deleteMultipleObjectsLimmit` -> `de… ( #3695 )
refactor(s3api_object_handlers): `deleteMultipleObjectsLimmit` -> `deleteMultipleObjectsLimit`
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2 years ago
Konstantin Lebedev
f7aeb06544
s3: report metadata if the directory is explicitly created ( #3498 )
* replace mkdir to mkFile
* ContentLength must be zero
* revert mkDir
* Seaweedfs-Is-Directory-Key return metadata
2 years ago
chrislu
9fce75607d
s3: report http.StatusOK if the directory is explicitly created
fix https://github.com/seaweedfs/seaweedfs/issues/3457
2 years ago
chrislu
42c6e52513
s3: fix regression on HEAD directory operation
2 years ago
Andrey Triumfov
31faa6d43d
Remove duplicate slashes in object path to prevent 500 errors ( #3442 )
2 years ago
chrislu
7457c746f0
s3: fix aws s3api head-object
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
LHHDZ
c08f6d0ff7
File upload should succeed should return `ETag` instead of `Etag`
at `/go-1.18.1/src/net/textproto/header.go:39`, header is canonicalized by `textproto.CanonicalMIMEHeaderKey`
3 years ago
Konstantin Lebedev
49f058da85
fix s3 tests:
ranged_request_invalid_range
ranged_request_empty_object
3 years ago
Konstantin Lebedev
c07820178f
fix s3 tests
bucket_list_delimiter_prefix
bucket_list_delimiter_prefix_underscore
bucket_list_delimiter_prefix_ends_with_delimiter
3 years ago
chrislu
27732ecfa4
move s3 related constants from package http to s3_constants
3 years ago
chrislu
596c3860ca
use final destination to resolve fs configuration
related to https://github.com/chrislusf/seaweedfs/issues/3075
3 years ago
Konstantin Lebedev
af562e1a20
rm log info
3 years ago
Konstantin Lebedev
26f3646961
show fake dirs
https://github.com/chrislusf/seaweedfs/issues/3086
3 years ago
justin
3551ca2fcf
enhancement: replace sort.Slice with slices.SortFunc to reduce reflection
3 years ago
root
b7e34016d4
fix error response in case of wrong expire time format
3 years ago
Konstantin Lebedev
9231971c88
fix test_s3.test_multi_object_delete_key_limit and
test_multi_objectv2_delete_key_limit
3 years ago
chrislu
da3d330616
s3 and filer transport using unix domain socket instead of tcp
3 years ago
chrislu
0cb17b45b1
refactoring
3 years ago
chrislu
a96d4254e9
filer, s3, volume server: a bit memory optimization
3 years ago