seaweedfs/weed/operation
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
2024-07-16 23:14:09 -07:00
..
assign_file_id_test.go Added context for the MasterClient's methods to avoid endless loops (#5628) 2024-06-14 11:40:34 -07:00
assign_file_id.go Added context for the MasterClient's methods to avoid endless loops (#5628) 2024-06-14 11:40:34 -07:00
buffer_pool.go go fmt 2021-04-02 02:22:59 -07:00
chunked_file.go Added tls for http clients (#5766) 2024-07-16 23:14:09 -07:00
data_struts.go cleanup security.Secret 2019-02-09 21:56:32 -08:00
delete_content.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
grpc_client.go grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
lookup_vid_cache_test.go directory structure change to work with glide 2016-06-02 18:09:14 -07:00
lookup_vid_cache.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
lookup.go Added context for the MasterClient's methods to avoid endless loops (#5628) 2024-06-14 11:40:34 -07:00
needle_parse_test.go Added tls for http clients (#5766) 2024-07-16 23:14:09 -07:00
submit.go Added tls for http clients (#5766) 2024-07-16 23:14:09 -07:00
sync_volume.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
tail_volume.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
upload_content.go Added tls for http clients (#5766) 2024-07-16 23:14:09 -07:00