mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-22 08:07:55 +08:00
86d92a42b4
* 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 |
||
---|---|---|
.. | ||
policy | ||
s3_constants | ||
s3bucket | ||
s3err | ||
AmazonS3.xsd | ||
auth_credentials_subscribe.go | ||
auth_credentials_test.go | ||
auth_credentials.go | ||
auth_signature_v2.go | ||
auth_signature_v4.go | ||
auto_signature_v4_test.go | ||
bucket_metadata_test.go | ||
bucket_metadata.go | ||
chunked_reader_v4.go | ||
custom_types.go | ||
filer_multipart_test.go | ||
filer_multipart.go | ||
filer_util_tags.go | ||
filer_util.go | ||
README.txt | ||
s3api_acl_helper_test.go | ||
s3api_acl_helper.go | ||
s3api_acp.go | ||
s3api_auth.go | ||
s3api_bucket_handlers_test.go | ||
s3api_bucket_handlers.go | ||
s3api_bucket_skip_handlers.go | ||
s3api_circuit_breaker_test.go | ||
s3api_circuit_breaker.go | ||
s3api_handlers.go | ||
s3api_object_handlers_copy_test.go | ||
s3api_object_handlers_copy.go | ||
s3api_object_handlers_delete.go | ||
s3api_object_handlers_list_test.go | ||
s3api_object_handlers_list.go | ||
s3api_object_handlers_multipart.go | ||
s3api_object_handlers_postpolicy.go | ||
s3api_object_handlers_put.go | ||
s3api_object_handlers_skip.go | ||
s3api_object_handlers_tagging.go | ||
s3api_object_handlers_test.go | ||
s3api_object_handlers.go | ||
s3api_policy.go | ||
s3api_server_grpc.go | ||
s3api_server.go | ||
s3api_status_handlers.go | ||
s3api_test.go | ||
s3api_xsd_generated_helper.go | ||
s3api_xsd_generated.go | ||
stats.go | ||
tags_test.go | ||
tags.go |
see https://blog.aqwari.net/xml-schema-go/ 1. go get aqwari.net/xml/cmd/xsdgen 2. Add EncodingType element for ListBucketResult in AmazonS3.xsd 3. xsdgen -o s3api_xsd_generated.go -pkg s3api AmazonS3.xsd 4. Remove empty Grantee struct in s3api_xsd_generated.go 5. Remove xmlns: sed s'/http:\/\/s3.amazonaws.com\/doc\/2006-03-01\/\ //' s3api_xsd_generated.go